|
|
A185253
|
|
Difference of pairs of triangular numbers whose sum and difference are triangular.
|
|
8
|
|
|
6, 66, 325, 210, 1596, 2701, 1326, 903, 1225, 16836, 6903, 82621, 141778, 181503, 63546, 52975, 354903, 10440, 13530, 405450, 7140, 989121, 1329265, 511566, 668746, 437580, 2102275, 2001000, 2469753, 3229611, 1428895, 3096316, 1963171, 6843150, 856086, 4276350
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
REFERENCES
|
Albert H. Beiler, Recreations in the theory of numbers, New York, Dover, (2nd ed.) 1966, p. 197, nr. 8.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(2) = 66, since the pair of triangular numbers 171 = 18*(18+1)/2 and 105 = 14*(14+1)/2 produce the sum 276 = 23*(23+1)/2 and the difference 66 = 11*(11+1)/2 which are both triangular numbers.
|
|
PROG
|
(PARI) lista(nn) = {v = vector(nn, n, n*(n+1)/2); for (n=2, nn, for (k=1, n-1, if (ispolygonal(v[n]+v[k], 3) && ispolygonal(v[n]-v[k], 3), print1(v[n]-v[k], ", ")); ); ); } \\ Michel Marcus, Jan 08 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|