|
Search: id:A111638
|
|
|
| A111638 |
|
Numbers having a unique partition into three positive triangular numbers. |
|
+0 2
|
|
| 3, 5, 7, 8, 9, 10, 13, 14, 15, 16, 18, 24, 25, 36, 38, 50, 53, 55, 60, 69, 81, 83, 99, 110, 119
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
Example: 119=55+36+28
|
|
MATHEMATICA
|
trig[n_]:=n(n+1)/2; trigInv[x_]:=Ceiling[Sqrt[Max[0, 2x]]]; lim=100; nLst=Table[0, {trig[lim]}]; Do[n=trig[a]+trig[b]+trig[c]; If[n>0 && n<=trig[lim], nLst[[n]]++ ], {a, 1, lim}, {b, a, trigInv[trig[lim]-trig[a]]}, {c, b, trigInv[trig[lim]-trig[a]-trig[b]]}]; Flatten[Position[nLst, 1]]
|
|
CROSSREFS
|
Cf. A060773 (n having a unique partition into three nonnegative triangular numbers).
Sequence in context: A136443 A020491 A047746 this_sequence A080262 A160238 A025050
Adjacent sequences: A111635 A111636 A111637 this_sequence A111639 A111640 A111641
|
|
KEYWORD
|
fini,full,nonn
|
|
AUTHOR
|
T. D. Noe (noe(AT)sspectra.com), Aug 10 2005
|
|
|
Search completed in 0.002 seconds
|