OFFSET
1,1
COMMENTS
Warning: not all quizzes permit the use of the OEIS!
Discard (from the list of integers) numbers that have exactly 1 factor of prime(n) in their prime factorization. Of those remaining, the proportion that have exactly 2 factors of prime(n) is (prime(n)-1)/a(n). - Peter Munn, Nov 27 2020
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
Table[p(p^2-p+1), {p, Prime[Range[40]]}] (* Harvey P. Dale, Jan 09 2017 *)
PROG
(Magma) [p*(p^2-p+1): p in PrimesUpTo(150)]; // Vincenzo Librandi, Jan 10 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 15 2003
STATUS
approved