cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A025058 Numbers of form i*j + j*k + k*i, where 1 <=i < j < k, including repetitions.

This page as a plain text file.
%I A025058 #18 Nov 14 2021 10:09:04
%S A025058 11,14,17,19,20,23,23,26,26,27,29,29,31,31,32,34,35,35,36,38,38,39,39,
%T A025058 41,41,41,43,44,44,44,46,47,47,47,47,49,50,50,51,51,52,53,53,54,54,55,
%U A025058 55,56,56,56,59,59,59,59,59,61,61,62,62,62,63,63,64,65,65
%N A025058 Numbers of form i*j + j*k + k*i, where 1 <=i < j < k, including repetitions.
%H A025058 Bo Gyu Jeong, <a href="/A025058/b025058.txt">Table of n, a(n) for n = 1..2000</a>
%e A025058 11 is in the sequence because 11 = 1*2 + 2*3 + 3*1.
%e A025058 23 appears twice because 23 = 1*3 + 3*5 + 5*1 = 1*2 + 2*7 + 7*1.
%o A025058 (Python)
%o A025058 def aupto(N):
%o A025058     alst = []
%o A025058     for i in range(1, N-1):
%o A025058         for j in range(i+1, N//i + 1):
%o A025058             p, s = i*j, i+j
%o A025058             for k in range(j+1, (N-p)//s + 1):
%o A025058                 alst.append(p + s*k)
%o A025058     return sorted(alst)
%o A025058 print(aupto(65)) # _Michael S. Branicky_, Nov 14 2021
%Y A025058 Cf. A025060 (without repetitions), A093669.
%K A025058 nonn
%O A025058 1,1
%A A025058 _Clark Kimberling_