login
A116024
The n-th prime minus n gives a semiprime (A001358).
2
5, 7, 9, 12, 20, 22, 24, 36, 40, 49, 52, 55, 58, 59, 60, 64, 69, 72, 74, 78, 80, 82, 87, 93, 96, 101, 105, 106, 108, 112, 114, 117, 118, 122, 123, 124, 125, 128, 132, 134, 135, 136, 138, 140, 142, 147, 150, 156, 158, 159, 160, 162, 164, 166, 170, 172, 180, 184
OFFSET
1,1
LINKS
EXAMPLE
p(40)-40=133=7*19.
MATHEMATICA
Transpose[Select[Table[{Prime[n], n}, {n, 200}], PrimeOmega[#[[1]]-#[[2]]] == 2&]][[2]] (* Harvey P. Dale, Jun 05 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 13 2006
STATUS
approved