A140724 Period 10: 1, 5, 9, 7, 7, 9, 5, 1, 3, 3 repeated.
1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,1).
Programs
-
Mathematica
PadRight[{},120,{1,5,9,7,7,9,5,1,3,3}] (* Harvey P. Dale, Apr 23 2020 *)
-
PARI
13073/81819. \\ Charles R Greathouse IV, Jul 21 2015
Formula
a(n)+a(n+5) = 10 = A010692(n).
a(n) = a(n+10) .
a(10*k+9+i) = a(10*k+18-i) (palindromic).
a(n) = 2*a(n-1)-2*a(n-2)+2*a(n-3)-2*a(n-4)+a(n-5). G.f.: -(1+3*x+x^2-3*x^3+3*x^4)/ ((x-1) * (x^4-x^3+x^2-x+1)).
Extensions
Edited by R. J. Mathar, Sep 07 2009
Comments