A379158 Numbers m such that the consecutive prime powers A246655(m) and A246655(m+1) are both prime.
1, 4, 8, 11, 12, 16, 19, 20, 21, 24, 25, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49, 50, 51, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 71, 72, 73, 74, 75, 76, 79, 80, 81, 82, 83, 84, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 99, 100
Offset: 1
Keywords
Examples
The 4th and 5th prime powers are 5 and 7, which are both prime, so 4 is in the sequence. The 12th and 13th prime powers are 19 and 23, which are both prime, so 12 is in the sequence.
Crossrefs
Programs
-
Mathematica
v=Select[Range[100],PrimePowerQ]; Select[Range[Length[v]-1],PrimeQ[v[[#]]]&&PrimeQ[v[[#+1]]]&]
Comments