The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A253459 Indices of centered square numbers (A001844) which are also centered heptagonal numbers (A069099). 3
1, 21, 148, 5208, 37465, 1322685, 9515836, 335956656, 2416984753, 85331667813, 613904611300, 21673907667720, 155929354285321, 5505087215932941, 39605442083860108, 1398270478939299168, 10059626359946181985, 355155196563366055605, 2555105489984246363956 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also positive integers x in the solutions to 4*x^2 - 7*y^2 - 4*x + 7*y = 0, the corresponding values of y being A253460.
LINKS
FORMULA
a(n) = a(n-1)+254*a(n-2)-254*a(n-3)-a(n-4)+a(n-5).
G.f.: x*(20*x^3+127*x^2-20*x-1) / ((x-1)*(x^2-16*x+1)*(x^2+16*x+1)).
EXAMPLE
21 is in the sequence because the 21st centered square number is 841, which is also the 16th centered heptagonal number.
PROG
(PARI) Vec(x*(20*x^3+127*x^2-20*x-1)/((x-1)*(x^2-16*x+1)*(x^2+16*x+1)) + O(x^100))
CROSSREFS
Sequence in context: A060493 A198183 A259493 * A041850 A239123 A241697
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 May 19 00:35 EDT 2024. Contains 372666 sequences. (Running on oeis4.)