A140899 A140724(n+4). Period 10: repeat 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
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,1).
Programs
-
PARI
a(n)=[7, 9, 5, 1, 3, 3, 1, 5, 9, 7][n%10+1] \\ Charles R Greathouse IV, Jul 13 2016
Formula
Note a(2n)+a(2n+1)= period 5: repeat 16, 6, 6, 6, 16 .
Comments