login
A390154
Numbers k such that k^2 is the difference of j and the sum of its prime factors (counted with multiplicity) for some j.
2
0, 1, 3, 9, 11, 15, 20, 21, 24, 25, 28, 30, 33, 34, 37, 39, 41, 45, 46, 47, 50, 55, 57, 59, 61, 63, 64, 67, 68, 71, 73, 80, 81, 82, 85, 86, 90, 92, 95, 97, 99, 103, 104, 105, 107, 108, 109, 111, 115, 117, 118, 119, 123, 128, 131, 135, 141, 143, 145, 147, 148, 149, 153, 155, 156, 157, 158, 160, 163
OFFSET
1,3
COMMENTS
Numbers k such that k^2 = A075255(j) for some j.
LINKS
EXAMPLE
a(5) = 11 is a term because 135 = 3^3 * 5 and 135 - 3*3 - 5 = 121 = 11^2.
MAPLE
S:= {}:
for n from 1 to 50000 do
if isprime(n) then next fi;
v:= n - add(t[1]*t[2], t=ifactors(n)[2]);
if v <= 25000 and issqr(v) then S:= S union {sqrt(v)} fi
od:
sort(convert(S, list));
CROSSREFS
KEYWORD
nonn
AUTHOR
Will Gosnell and Robert Israel, Oct 27 2025
STATUS
approved