|
Search: id:A064816
|
|
|
| A064816 |
|
Numbers which are the sums of two triangular numbers (A000217) in exactly two different ways. |
|
+0 6
|
|
| 16, 31, 42, 46, 51, 56, 72, 76, 94, 111, 121, 123, 126, 133, 141, 146, 157, 172, 174, 186, 191, 196, 198, 216, 225, 226, 231, 237, 241, 246, 259, 268, 281, 286, 289, 291, 297, 301, 306, 310, 315, 321, 326, 328, 336, 342, 346, 354, 366, 367, 379, 380, 384
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
EXAMPLE
|
16 = 15+1 = 10 + 6
|
|
PROGRAM
|
(PARI) Tri(n)= { n*(n + 1)/2 } { n=0; for (m=1, 10^9, k=0; i=1; until (t>=m\2 || k>2, t=Tri(i); j=i; i++; until (s>=m || k>2, s=t + Tri(j); j++; if (s==m, k++))); if (k==2, write("b064816.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 27 2009]
|
|
CROSSREFS
|
Sequence in context: A064634 A145581 A129617 this_sequence A132299 A059164 A040240
Adjacent sequences: A064813 A064814 A064815 this_sequence A064817 A064818 A064819
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Oct 22 2001
|
|
EXTENSIONS
|
OFFSET changed from 0,1 to 1,1 by Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 27 2009
|
|
|
Search completed in 0.002 seconds
|