login
Decimal expansion of 1/254.
0

%I #12 Dec 30 2016 13:58:53

%S 0,0,3,9,3,7,0,0,7,8,7,4,0,1,5,7,4,8,0,3,1,4,9,6,0,6,2,9,9,2,1,2,5,9,

%T 8,4,2,5,1,9,6,8,5,0,3,9,3,7,0,0,7,8,7,4,0,1,5,7,4,8,0,3,1,4,9,6,0,6,

%U 2,9,9,2,1,2,5,9,8,4,2,5,1,9,6,8,5,0,3,9,3,7,0,0,7,8,7,4,0,1,5

%N Decimal expansion of 1/254.

%C After the first zero, periodic with period 42: repeat [0, 3, 9, 3, 7, 0, 0, 7, 8, 7, 4, 0, 1, 5, 7, 4, 8, 0, 3, 1, 4, 9, 6, 0, 6, 2, 9, 9, 2, 1, 2, 5, 9, 8, 4, 2, 5, 1, 9, 6, 8, 5]. - _Wesley Ivan Hurt_, Dec 29 2016

%F From _Chai Wah Wu_, Dec 29 2016: (Start)

%F a(n) = a(n-1) - a(n-21) + a(n-22) for n > 22.

%F G.f.: x^2*(-5*x^20 - 3*x^19 + 2*x^18 - 3*x^17 + 8*x^16 - 4*x^15 + 3*x^14 - 2*x^13 - 4*x^12 - x^11 + 4*x^10 + 3*x^9 + x^8 - x^7 - 7*x^6 + 7*x^4 - 4*x^3 + 6*x^2 - 6*x - 3)/(x^22 - x^21 + x - 1). (End)

%K nonn,cons

%O 0,3

%A _N. J. A. Sloane_