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!)
A253622 Centered heptagonal numbers (A069099) which are also centered pentagonal numbers (A005891). 3
1, 106, 15016, 2132131, 302747551, 42988020076, 6103996103206, 866724458635141, 123068769130086781, 17474898492013687726, 2481312517096813570276, 352328902529255513291431, 50028222846637186073812891, 7103655315319951166968139056 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 143*a(n-1)-143*a(n-2)+a(n-3).
G.f.: -x*(x^2-37*x+1) / ((x-1)*(x^2-142*x+1)).
a(n) = (4+(6+sqrt(35))*(71+12*sqrt(35))^(-n)-(-6+sqrt(35))*(71+12*sqrt(35))^n)/16. - Colin Barker, Mar 07 2016
EXAMPLE
106 is in the sequence because it is the 6th centered heptagonal number and the 7th centered pentagonal number.
MATHEMATICA
LinearRecurrence[{143, -143, 1}, {1, 106, 15016}, 20] (* Harvey P. Dale, Feb 25 2016 *)
PROG
(PARI) Vec(-x*(x^2-37*x+1)/((x-1)*(x^2-142*x+1)) + O(x^100))
CROSSREFS
Sequence in context: A166912 A223497 A078281 * A184208 A082177 A156020
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jan 06 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 25 11:30 EDT 2024. Contains 371967 sequences. (Running on oeis4.)