OFFSET
1,1
LINKS
Bo Gyu Jeong, Table of n, a(n) for n = 1..2000
EXAMPLE
11 is in the sequence because 11 = 1*2 + 2*3 + 3*1.
23 appears twice because 23 = 1*3 + 3*5 + 5*1 = 1*2 + 2*7 + 7*1.
PROG
(Python)
def aupto(N):
alst = []
for i in range(1, N-1):
for j in range(i+1, N//i + 1):
p, s = i*j, i+j
for k in range(j+1, (N-p)//s + 1):
alst.append(p + s*k)
return sorted(alst)
print(aupto(65)) # Michael S. Branicky, Nov 14 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved