login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117865 Number of palindromes (in base 6) below 6^n. 1
5, 10, 40, 70, 250, 430, 1510, 2590, 9070, 15550, 54430, 93310, 326590, 559870, 1959550, 3359230, 11757310, 20155390, 70543870, 120932350, 423263230, 725594110, 2539579390, 4353564670, 15237476350, 26121388030, 91424858110, 156728328190, 548549148670 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 7*6^((n-1)/2)-2 (n odd), 2*6^(n/2)-2 (n even).
G.f.: 5*x*(x+1) / ((x-1)*(6*x^2-1)). - Colin Barker, Feb 15 2013
MATHEMATICA
Table[If[OddQ[n], 7*6^((n - 1)/2) - 2, 2*6^(n/2) - 2], {n, 25}] (* or *) LinearRecurrence[{1, 6, -6}, {5, 10, 40}, 25] (* G. C. Greubel, Oct 27 2016 *)
CROSSREFS
Cf. A050250.
Sequence in context: A279764 A191580 A179306 * A249059 A163305 A001692
KEYWORD
nonn,base,easy
AUTHOR
Martin Renner, May 02 2006
EXTENSIONS
More terms from Colin Barker, Feb 15 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 23:40 EDT 2024. Contains 371798 sequences. (Running on oeis4.)