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!)
A328791 Triangular numbers of the form k^2 + 3. 2
3, 28, 903, 30628, 1040403, 35343028, 1200622503, 40785822028, 1385517326403, 47066803275628, 1598885794044903, 54315050194251028, 1845112820810490003, 62679520857362409028, 2129258596329511416903, 72332112754346025765628, 2457162575051435364614403 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There exist triangular numbers of the form k^2 + j for j=0 (A001110), j=1 (A164055), j=2 (A214838), and j=3 (this sequence), but not for j=4,7,8,13,16,18,... (A328792).
LINKS
FORMULA
a(1) = 3, a(2) = 28; for n > 2, a(n) = 34*a(n-1) - a(n-2) - 46.
PROG
(Python)
limit = 10**7 # rough limit for k
A000217 = set(k*(k+1)//2 for k in range(14*limit//10))
A117950 = set(k**2 + 3 for k in range(limit))
print(sorted(A000217 & A117950)) # Michael S. Branicky, Mar 28 2021
CROSSREFS
Intersection of A000217 and A117950.
Cf. A276598 (the k's).
Sequence in context: A015474 A324462 A053601 * A140990 A196735 A208438
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Oct 27 2019
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 June 7 22:01 EDT 2024. Contains 373206 sequences. (Running on oeis4.)