OFFSET
1,1
COMMENTS
Example: 1/(7*5^4)=0.00022857(142857) hence a(4)=22857
FORMULA
Empirical g.f.: x*(-56*x^2-2800*x+2857) / (8*x^4-8*x^3-x+1). - Colin Barker, Jun 16 2013
PROG
(PARI) a(n)=if(n<0, 0, s=1; while(frac(10^s/7/5^n-1/7)>0, s++); floor(10^s/7/5^n)) \\ Colin Barker, Jun 16 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Feb 05 2002; revised Dec 11, 2004
EXTENSIONS
a(12) corrected by Colin Barker, Jun 16 2013
STATUS
approved