login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,1
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
Cf. A050683.
Sequence in context: A165425 A220079 A153272 * A367456 A360367 A274908
KEYWORD
nonn,base,easy
AUTHOR
Martin Renner, May 02 2006
EXTENSIONS
More terms from Colin Barker, Jun 30 2012
STATUS
approved