OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
Let s = A332785.
a(1) = s(1) = 12 = 2^2 * 3.
s(2) = 18 is not divisible by 2^2, thus not in this sequence.
a(2) = s(3) = 20 = 2^2 * 5.
a(3) = s(4) = 24 = 2^3 * 3.
a(4) = s(5) = 28 = 2^2 * 7.
a(5) = s(6) = 40 = 2^3 * 5.
a(6) = s(7) = 44 = 2^2 * 11.
a(7) = s(8) = 45 = 3^2 * 5.
a(8) = s(9) = 48 = 2^4 * 3.
s(10) = 50 is not divisible by 2^2, thus not a term, etc.
MATHEMATICA
Select[Range[250], And[! Divisible[#1, Apply[Times, #2[[All, 1]] ]^2], #2[[1, -1]] > 1] & @@ {#, FactorInteger[#]} &]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Sep 24 2025
STATUS
approved
