OFFSET
1,2
COMMENTS
Numbers k such that k is the sum of a square and the cubes of the prime factors of k, counted with multiplicity.
Except for a(1) = 1, all terms are the product of at least 4 (not necessarily distinct) primes.
a(1) = 1 and a(7) = 1925 have k - A224787(k) = 1. Are there any others? - Will Gosnell and Robert Israel, Aug 01 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..2511
EXAMPLE
a(3) = 630 = 2 * 3^2 * 5 * 7 is a term because 630 - 2^3 - 2 * 3^3 - 5^3 - 7^3 = 100 is a square.
MAPLE
filter:= proc(n) local t;
issqr(n - add(t[1]^3*t[2], t=ifactors(n)[2]))
end proc:
select(filter, [$1..10^6]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Will Gosnell and Robert Israel, Jul 27 2025
STATUS
approved
