OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..2049
EXAMPLE
6 is in the sequence since 6 = 2 + 2 + 2, and (2+2) | 2*2 for each pair.
20 is in the sequence since 20 = 4 + 4 + 12, where (4+4) | 4*4 and (4+12) | 4*12 for the other two pairs.
21 is in the sequence since 21 = 3 + 6 + 12, where (3+6) | 3*6, (6+12) | 6*12, and (6+12) | 3*12.
MATHEMATICA
Block[{a = {}, nn = 171}, Do[If[i > nn, Break[], Do[If[i + j > nn, Break[], Do[If[# > nn, Break[], If[And[Mod[i j, (i + j)] == 0, Mod[j k, (j + k)] == 0, Mod[i k, (j + k)] == 0], AppendTo[a, #]]] &[i + j + k], {k, j, Infinity}]], {j, i, Infinity}]], {i, Infinity}]; Union@ a] (* Michael De Vlieger, Apr 06 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 05 2021
STATUS
approved