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!)
A253457 Indices of centered hexagonal numbers (A003215) which are also centered heptagonal numbers (A069099). 3
1, 14, 351, 9100, 236237, 6133050, 159223051, 4133666264, 107316099801, 2786084928550, 72330892042487, 1877817108176100, 48750913920536101, 1265645944825762514, 32858043651549289251, 853043488995455758000, 22146272670230300418737, 574950045936992355129150 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also positive integers x in the solutions to 6*x^2 - 7*y^2 - 6*x + 7*y = 0, the corresponding values of y being A253458.
LINKS
FORMULA
a(n) = 27*a(n-1)-27*a(n-2)+a(n-3).
G.f.: x*(13*x-1) / ((x-1)*(x^2-26*x+1)).
a(n) = sqrt((-2-(13-2*sqrt(42))^n-(13+2*sqrt(42))^n)*(2-(13-2*sqrt(42))^(1+n)-(13+2*sqrt(42))^(1+n)))/(4*sqrt(6)). - Gerry Martens, Jun 04 2015
EXAMPLE
14 is in the sequence because the 14th centered hexagonal number is 547, which is also the 13th centered heptagonal number.
PROG
(PARI) Vec(x*(13*x-1)/((x-1)*(x^2-26*x+1)) + O(x^100))
CROSSREFS
Sequence in context: A239783 A020143 A161927 * A239784 A113673 A184268
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jan 01 2015
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 March 29 09:14 EDT 2024. Contains 371268 sequences. (Running on oeis4.)