OFFSET
0,1
COMMENTS
The sequence a(2n) + a(2n+1) = period 5: repeat 16, 6, 6, 6, 16.
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
a(n) = A140724(n+4).
a(n) = a(n-10).
MATHEMATICA
PadRight[{}, 100, {7, 9, 5, 1, 3, 3, 1, 5, 9, 7}] (* Paolo Xausa, May 25 2026 *)
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
