OFFSET
1,1
COMMENTS
Positions of 2's in A119241.
Shiu (1980) proved that this sequence has an asymptotic density 0.2312... A more accurate calculation using his formula gives 0.231299167354828...
REFERENCES
József Sándor, Dragoslav S. Mitrinovic and Borislav Crstici, Handbook of Number Theory I, Springer Science & Business Media, 2005, chapter VI, p. 226.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
P. Shiu, On the number of square-full integers between successive squares, Mathematika, Vol. 27, No. 2 (1980), pp. 171-178.
EXAMPLE
5 is a term since there are exactly two powerful numbers, 27 = 3^3 and 32 = 2^5 between 5^2 = 25 and (5+1)^2 = 36.
MATHEMATICA
powQ[n_] := (n == 1) || Min @@ FactorInteger[n][[;; , 2]] > 1; Select[Range[300], Count[Range[#^2 + 1, (# + 1)^2 - 1], _?powQ] == 2 &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jul 10 2020
STATUS
approved