login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A025058
Numbers of form i*j + j*k + k*i, where 1 <=i < j < k, including repetitions.
3
11, 14, 17, 19, 20, 23, 23, 26, 26, 27, 29, 29, 31, 31, 32, 34, 35, 35, 36, 38, 38, 39, 39, 41, 41, 41, 43, 44, 44, 44, 46, 47, 47, 47, 47, 49, 50, 50, 51, 51, 52, 53, 53, 54, 54, 55, 55, 56, 56, 56, 59, 59, 59, 59, 59, 61, 61, 62, 62, 62, 63, 63, 64, 65, 65
OFFSET
1,1
LINKS
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
Cf. A025060 (without repetitions), A093669.
Sequence in context: A239935 A219179 A221281 * A025060 A093669 A084805
KEYWORD
nonn
STATUS
approved