login
A021043
Decimal expansion of 1/39.
1
0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5, 6, 4, 1, 0, 2, 5
OFFSET
0,2
COMMENTS
The 6-digit cycle 1,0,2,5,6,4 in this sequence and the others based on thirty-ninths, gives the successive digits of the smallest integer which is multiplied by four when the final digit is moved from the right hand end to the left hand end. - Ian Duff, Jan 09 2009
EXAMPLE
0.02564102564102564102564102564102564102564102564102564102564102564102564102....
MAPLE
evalf(1/39, 100); # Wesley Ivan Hurt, Jan 29 2017
MATHEMATICA
Join[{0}, RealDigits[1/39, 10, 120][[1]]] (* or *) PadRight[{}, 120, {0, 2, 5, 6, 4, 1}] (* Harvey P. Dale, Nov 17 2013 *)
PROG
(PARI) a(n)=28728\7^(n%6)%7 \\ Charles R Greathouse IV, Jun 01 2026
CROSSREFS
Sequence in context: A362977 A353604 A021979 * A213736 A202343 A154946
KEYWORD
nonn,cons,easy,changed
STATUS
approved