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!)
A253446 Indices of centered heptagonal numbers (A069099) which are also centered octagonal numbers (A016754). 3
1, 16, 465, 13920, 417121, 12499696, 374573745, 11224712640, 336366805441, 10079779450576, 302057016711825, 9051630721904160, 271246864640412961, 8128354308490484656, 243579382390074126705, 7299253117393733316480, 218734014139421925367681 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also positive integers x in the solutions to 7*x^2 - 8*y^2 - 7*x + 8*y = 0, the corresponding values of y being A253447.
LINKS
FORMULA
a(n) = 31*a(n-1)-31*a(n-2)+a(n-3).
G.f.: x*(15*x-1) / ((x-1)*(x^2-30*x+1)).
a(n) = sqrt((-2-(15-4*sqrt(14))^n-(15+4*sqrt(14))^n)*(2-(15-4*sqrt(14))^(1+n)-(15+4*sqrt(14))^(1+n)))/(4*sqrt(7)). - Gerry Martens, Jun 04 2015
EXAMPLE
16 is in the sequence because the 16th centered heptagonal number is 841, which is also the 15th centered octagonal number.
MATHEMATICA
LinearRecurrence[{31, -31, 1}, {1, 16, 465}, 20] (* Harvey P. Dale, Oct 04 2023 *)
PROG
(PARI) Vec(x*(15*x-1)/((x-1)*(x^2-30*x+1)) + O(x^100))
CROSSREFS
Sequence in context: A318937 A358569 A368772 * A159646 A113674 A281834
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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)