OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Wushi Goldring, Dynamics of the w function and primes, Journal of Number Theory, Volume 119, Issue 1, July 2006, Pages 86-98.
EXAMPLE
12 = 2^2 * 3 = 2 * 2 * 3, and so it is in the sequence.
27 = 3^3 = 3 * 3 * 3, but that's only one distinct prime and hence 27 is not in the sequence.
30 = 2 * 3 * 5, and so it is in the sequence.
MATHEMATICA
Select[Range[300], PrimeOmega[#] == 3 && PrimeNu[#] > 1 &] (* Alonso del Arte, Oct 14 2012 *)
PROG
(PARI) atr(n) = {for (i=2, n, if (bigomega(i) == 3 && omega(i) > 1, print1(i, ", "); ); ); }
(PARI) atr(n) = {for (i=2, n, f = factor(i); len = length(f~); if (len > 1, s = sum(i=1, len, f[i, 2]); if (s == 3, print1(i, ", "))); ); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Marcus, Oct 13 2012
STATUS
approved