OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1).
FORMULA
From Chai Wah Wu, Jun 21 2016: (Start)
a(n) = a(n-1) - a(n-16) + a(n-17) for n > 16.
G.f.: x^2*(-3*x^14 - 5*x^13 - x^12 + 8*x^11 + x^10 - x^9 - 7*x^8 + 5*x^6 + 2*x^5 - 6*x^4 + x^3 + 5*x^2 - 6*x - 2)/((x - 1)*(x^16 + 1)). (End)
EXAMPLE
0.002832861189801699716713881019830028328611898016997...
MATHEMATICA
PadLeft[First@#, Abs@Last@# + Length@First@#]&@RealDigits[N[1/353, 100]] (* Vincenzo Librandi, Jun 22 2016 *)
First[RealDigits[1/353, 10, 100, -1]] (* Paolo Xausa, Aug 12 2025 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
