OFFSET
1,1
COMMENTS
LINKS
David A. Corneth, Table of n, a(n) for n = 1..12033 (terms <= 2*10^6)
David A. Corneth, PARI program
EXAMPLE
a(3) = 84 = 4*3*(4+3) = 16*4 + 16 + 4.
PROG
(Python)
TOP = 100000
a = [0]*TOP
b = [0]*TOP
for y in range(2, TOP//2):
for x in range(y, TOP//2):
k = x*y*(x+y)
if k>=TOP: break
a[k]+=1
for y in range(2, TOP//2):
for x in range(y, TOP//2):
k = x*y+(x+y)
if k>=TOP: break
b[k]+=1
print([n for n in range(TOP) if a[n]>0 and b[n]>0])
(PARI) \\ See Corneth link
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Feb 19 2015
STATUS
approved