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!)
A253120 Numbers n such that the sum of the octagonal numbers O(n), O(n+1), O(n+2) and O(n+3) is equal to the hexagonal number H(m) for some m. 2
6, 705, 69196, 6780615, 664431186, 65107475725, 6379868189976, 625161975142035, 61259493695729566, 6002805220206355545, 588213652086527113956, 57638935099259450812255, 5648027426075339652487146, 553449048820284026492928165, 54232358756961759256654473136 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also positive integers x in the solutions to 24*x^2-4*y^2+56*x+2*y+60 = 0, the corresponding values of y being A253121.
LINKS
FORMULA
a(n) = 99*a(n-1)-99*a(n-2)+a(n-3).
G.f.: x*(5*x^2-111*x-6) / ((x-1)*(x^2-98*x+1)).
a(n) = -7/6+1/48*(49+20*sqrt(6))^(-n)*(-92-39*sqrt(6)+(49+20*sqrt(6))^(2*n)*(-92+39*sqrt(6))). - Colin Barker, Mar 03 2016
EXAMPLE
6 is in the sequence because O(6)+O(7)+O(8)+O(9) = 96+133+176+225 = 630 = H(18).
PROG
(PARI) Vec(x*(5*x^2-111*x-6)/((x-1)*(x^2-98*x+1)) + O(x^100))
CROSSREFS
Sequence in context: A116298 A112637 A289366 * A354250 A218559 A201391
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Dec 27 2014
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 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)