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!)
A259158 Positive triangular numbers (A000217) that are heptagonal numbers (A000566) divided by 2. 4
171, 355817826, 739874066553765, 1538466018777014327028, 3199027777735470191011289295, 6651936797966044301302839516949686, 13831784604089070782667939513452521937961, 28761287297921206463992005998270360082445758120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: -171*x*(1443*x+1) / ((x-1)*(x^2-2079362*x+1)).
EXAMPLE
171 is in the sequence because 171 is the 18th triangular number, and 2*171 is the 12th heptagonal number.
MATHEMATICA
LinearRecurrence[{2079363, -2079363, 1}, {171, 355817826, 739874066553765}, 20] (* Vincenzo Librandi, Jun 20 2015 *)
PROG
(PARI) Vec(-171*x*(1443*x+1) / ((x-1)*(x^2-2079362*x+1)) + O(x^20))
CROSSREFS
Sequence in context: A097844 A076573 A015356 * A252139 A252132 A252131
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jun 19 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 23:40 EDT 2024. Contains 371798 sequences. (Running on oeis4.)