OFFSET
0,1
COMMENTS
A140724= period 10: repeat 1, 5, 9, 7, 7, 9, 5, 1, 3, 3 . a(n) is one of its two palindromic decuplets.
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,1).
FORMULA
Note a(2n)+a(2n+1)= period 5: repeat 16, 6, 6, 6, 16 .
PROG
(PARI) a(n)=[7, 9, 5, 1, 3, 3, 1, 5, 9, 7][n%10+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jul 24 2008
STATUS
approved