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!)
A216267 Numbers that are both tetrahedral and pronic. 0
0, 20, 56, 7140, 1414910 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Intersection of A000292 and A002378.
LINKS
MATHEMATICA
t = {}; Do[tet = n (n + 1) (n + 2)/6; s = Floor[Sqrt[tet]]; If[s^2 + s == tet, AppendTo[t, tet]], {n, 0, 1000}]; t (* T. D. Noe, Mar 18 2013 *)
With[{nn=50000}, Intersection[Binomial[Range[0, nn]+2, 3], Table[n(n+1), {n, nn}]]] (* Harvey P. Dale, Apr 04 2016 *)
PROG
(Python)
def rootPronic(a):
sr = 1L<<33
while a < sr*(sr+1):
sr>>=1
b = sr>>1
while b:
s = sr+b
if a >= s*(s+1):
sr = s
b>>=1
return sr
for i in range(1<<20):
a = i*(i+1)*(i+2)/6
t = rootPronic(a)
if a == t*(t+1):
print a,
CROSSREFS
Sequence in context: A344072 A109806 A331774 * A012483 A051872 A297397
KEYWORD
nonn,more
AUTHOR
Alex Ratushnyak, Mar 15 2013
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 15:00 EDT 2024. Contains 371989 sequences. (Running on oeis4.)