OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Teerapat Srichan, The odd/even dichotomy for the set of square-full numbers, Applied Mathematics E-Notes, Vol. 20 (2020), pp. 528-531.
Wikipedia, Powerful number.
EXAMPLE
The first 6 powerful numbers are 1, 4, 8, 9, 16 and 25. 1, 9 and 25 are odd and their positions in the sequence are 1, 4 and 6, respectively.
MATHEMATICA
Position[Select[Range[7000], # == 1 || Min[FactorInteger[#][[;; , 2]]] > 1 &], _?(OddQ[#] &)] // Flatten
PROG
(PARI) lista(kmax) = {my(c = 0); for(k = 1, kmax, if(ispowerful(k), c++; if(k%2, print1(c, ", ")))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, May 21 2023
STATUS
approved