|
|
A117860
|
|
Number of palindromes of length n (in base 8).
|
|
0
|
|
|
7, 7, 56, 56, 448, 448, 3584, 3584, 28672, 28672, 229376, 229376, 1835008, 1835008, 14680064, 14680064, 117440512, 117440512, 939524096, 939524096, 7516192768, 7516192768, 60129542144, 60129542144, 481036337152, 481036337152, 3848290697216, 3848290697216
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 7*8^floor((n-1)/2).
a(n) = 8*a(n-2). G.f.: 7*x*(1+x)/(1-8*x^2). [Colin Barker, Jun 30 2012]
|
|
MATHEMATICA
|
LinearRecurrence[{0, 8}, {7, 7}, 30] (* Harvey P. Dale, Apr 09 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|