[go: up one dir, main page]

login
Decimal expansion of 1/115.
0

%I #10 Jul 26 2020 16:24:15

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

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

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

%N Decimal expansion of 1/115.

%F From _Chai Wah Wu_, Jul 26 2020: (Start)

%F a(n) = a(n-1) - a(n-11) + a(n-12) for n > 12.

%F G.f.: x^2*(-6*x^10 + 4*x^9 - 6*x^8 + x^7 + 3*x^6 + x^5 - x^4 + 4*x^3 - 3*x^2 + 2*x - 8)/(x^12 - x^11 + x - 1). (End)

%t Join[{0,0},RealDigits[1/115,10,120][[1]]] (* or *) PadRight[{0},120,{6,0,8,6,9,5,6,5,2,1,7,3,9,1,3,0,4,3,4,7,8,2}] (* _Harvey P. Dale_, Apr 03 2019 *)

%K nonn,cons

%O 0,3

%A _N. J. A. Sloane_.