|
| |
|
|
A141518
|
|
Period 5: repeat 1, 3, 5, 7, 9.
|
|
1
| |
|
|
1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Terms of the simple continued fraction of 302/[sqrt(2235029)-1265]. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
Final digits of odd numbers in decimal representation: a(n)=A010879(A005408(n)). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Apr 11 2010]
|
|
|
LINKS
| Index entries for sequences related to linear recurrences with constant coefficients, signature (0,0,0,0,1).
|
|
|
FORMULA
| a(n)=(1/10)*{21*(n mod 5)+[(n+1) mod 5]+[(n+2) mod 5]+[(n+3) mod 5]+[(n+4) mod 5]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 25 2008]
|
|
|
PROG
| (PARI) a(n)=1+2*(n%5) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 28 2009]
|
|
|
CROSSREFS
| Sequence in context: A118622 A127050 A031312 * A032764 A131669 A004155
Adjacent sequences: A141515 A141516 A141517 * A141519 A141520 A141521
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Aug 11 2008
|
| |
|
|