OFFSET
1,1
COMMENTS
There are no primes in the sequence, since A007956(p^2) = p for all primes p.
There are infinitely many terms, in fact p^2 is a term for all primes p.
If 8k+1 is not a perfect square, then p^k is a term for all primes p.
Depends only on the prime signature: n is in this sequence if and only if A046523(n) is in this sequence. - Charles R Greathouse IV, Jul 08 2022
Contains all the weak numbers (A052485) aside from the primes (A000040) and squarefree semiprimes (A006881). - Charles R Greathouse IV, Jul 08 2022
REFERENCES
Wacław Sierpiński, Elementary Theory of Numbers, Ex. 2 p. 174, Warsaw, 1964.
FORMULA
a(n) = n + O(n log log n/log n). - Charles R Greathouse IV, Jul 08 2022
EXAMPLE
4 is a term of this sequence because there are no numbers k such that A007956(k) = 4.
2^10 is not a term of this sequence because A007956(32) = 1024 (Note that 8*10+1=81=9^2 is a perfect square).
p^4 belongs to this sequence for all primes p, in fact 8*4+1=33 is not a perfect square, so there are no numbers h such that A007956(h) = p^4.
MATHEMATICA
Complement[Complement[Table[n, {n, 2, 1000}], Select[NumericalSort[Table[Times @@ Most[Divisors[n]], {n, 1000000}]], # != 1 && # < 1000 &]], Select[Table[Prime[n], {n, 1, 1000}], # < 1000 &]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Luca Onnis, Jul 07 2022
STATUS
approved