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!)
A230365 Squares representable as b! + triangular(c). 0
1, 4, 9, 16, 25, 121, 144, 196, 225, 256, 324, 441, 529, 900, 1296, 4096, 4489, 5041, 5476, 6561, 7056, 10609, 14884, 15625, 17956, 28561, 42025, 44100, 46656, 53361, 136900, 139129, 143641, 152100, 184041, 220900, 222784, 360000, 370881, 404496, 443556, 505521, 609961 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Python)
import math
factorials = [1] * 1024
f = 1
for n in range(2, 1025):
f *= n
factorials[n-1] = f
for n in range(1L<<30):
t = n*n
for a in factorials:
r = t - a
if r<0: break
b = int(math.sqrt(2*r))
if b*(b+1)==r*2:
print str(t)+', ',
break
CROSSREFS
Sequence in context: A299153 A133900 A143480 * A274963 A353387 A050461
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Oct 17 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 May 17 09:56 EDT 2024. Contains 372588 sequences. (Running on oeis4.)