|
| |
|
|
A132079
|
|
a(n) = (5^n+3)/2
|
|
1
| |
|
|
2, 4, 14, 64, 314, 1564, 7814, 39064, 195314, 976564, 4882814, 24414064, 122070314, 610351564, 3051757814, 15258789064, 76293945314, 381469726564, 1907348632814, 9536743164064, 47683715820314
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| (5^n+3)/2 is always divisible by 2 and the next value can be generated by appending 4 at one's place and adding the rest of the number with the respective power of 5 . For example 314 can be generated after 64 by just writing 4 at ones place and adding 5^2 to 6 to get 31 and appending 31 to 4, to get 314.
|
|
|
LINKS
| Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index to sequences with linear recurrences with constant coefficients, signature (6,-5).
|
|
|
MATHEMATICA
| Table[(5^n + 3)/2, {n, 0, 24}] (* From Alonso del Arte, May 02 2011 *)
|
|
|
PROG
| (MAGMA) [(5^n+3)/2: n in [0..30]]; // Vincenzo Librandi, May 02 2011
(PARI) a(n)=5^n\2+2 \\ Charles R Greathouse IV, May 02, 2011
|
|
|
CROSSREFS
| Sequence in context: A046911 A089127 A132852 * A055790 A020131 A032147
Adjacent sequences: A132076 A132077 A132078 * A132080 A132081 A132082
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Mohit Maheshwari (mohitmahe1989(AT)gmail.com), Oct 30 2007
|
|
|
EXTENSIONS
| Offset changed from 4 to 0. Corrected and extended by Vincenzo Librandi, May 02 2011
|
| |
|
|