A116024 The n-th prime minus n gives a semiprime (A001358).
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
Keywords
Examples
p(40)-40=133=7*19.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Transpose[Select[Table[{Prime[n],n},{n,200}],PrimeOmega[#[[1]]-#[[2]]] == 2&]][[2]] (* Harvey P. Dale, Jun 05 2015 *)