OFFSET
1,2
FORMULA
EXAMPLE
2346 is a triangular number and 2346 + 6432 = 8778 is also a triangular number.
MAPLE
read("transforms"): A000217 := proc(n) n*(n+1)/2 ; end proc:
isA000217 := proc(n) issqr( 1+8*n) ; end proc:
isA167220 := proc(n) R := digrev(n) ; return isA000217(n) and isA000217(n+R) ; end:
for n from 0 to 30000 do T := A000217(n) ; if isA167220(T) then printf("%d, ", T) ; end if; od: # R. J. Mathar, Oct 31 2009
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Claudio Meller, Oct 30 2009
EXTENSIONS
5 more terms from R. J. Mathar, Oct 31 2009
a(21)-a(26) from Donovan Johnson, Apr 26 2011
STATUS
approved