login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067703 Terms in the decimal expansion of 1/(7*5^n) before the block of decimals 142857 (the period of 1/7) appears. 0
2857, 57, 1, 22857, 457, 9, 182857, 3657, 73, 1462857, 29257, 585, 11702857, 234057, 4681, 93622857, 1872457, 37449, 748982857, 14979657, 299593, 5991862857, 119837257, 2396745, 47934902857, 958698057, 19173961 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Example: 1/(7*5^4)=0.00022857(142857) hence a(4)=22857
LINKS
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
Cf. A067556.
Sequence in context: A345846 A233788 A250637 * A253714 A031603 A236586
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 15 23:38 EDT 2024. Contains 374343 sequences. (Running on oeis4.)