A372886 Indices of prime numbers whose binary indices (positions of ones in reversed binary expansion) sum to another prime number.
1, 2, 5, 9, 10, 13, 14, 18, 20, 22, 24, 26, 27, 30, 32, 33, 35, 36, 38, 42, 43, 45, 47, 52, 57, 58, 60, 62, 63, 67, 70, 71, 74, 76, 79, 84, 88, 94, 96, 97, 99, 100, 101, 108, 116, 124, 126, 127, 132, 133, 135, 137, 144, 150, 154, 156, 160, 161, 162, 164, 172
Offset: 1
Examples
The binary indices of 89 = prime(24) are {1,4,5,7}, with sum 17, which is prime, so 24 is in the sequence.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
filter:= proc(p) local L,i,t; L:= convert(p,base,2); isprime(add(i*L[i],i=1..nops(L))) end proc: select(t -> filter(ithprime(t)), [$1..1000]); # Robert Israel, Jun 19 2025
-
Mathematica
Select[Range[100],PrimeQ[Total[First /@ Position[Reverse[IntegerDigits[Prime[#],2]],1]]]&]
Comments