OFFSET
1,1
COMMENTS
A binary index of n is any position of a 1 in its reversed binary expansion. The binary indices of n are row n of A048793.
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Note the function taking a set s to its rank Sum_i 2^(s_i-1) is the inverse of A048793 (binary indices).
FORMULA
Numbers k such that Sum_{i:prime(i)|k} 2^(i-1) is prime, where the sum is over the distinct prime indices of k.
EXAMPLE
The distinct prime indices of 45 are {2,3}, which are the binary indices of 6, which is not prime, so 45 is not in the sequence.
The distinct prime indices of 60 are {1,2,3}, which are the binary indices of 7, which is prime, so 60 is in the sequence.
The terms together with their prime indices begin:
3: {2}
6: {1,2}
9: {2,2}
10: {1,3}
12: {1,1,2}
18: {1,2,2}
20: {1,1,3}
22: {1,5}
24: {1,1,1,2}
27: {2,2,2}
30: {1,2,3}
36: {1,1,2,2}
40: {1,1,1,3}
42: {1,2,4}
44: {1,1,5}
46: {1,9}
48: {1,1,1,1,2}
50: {1,3,3}
54: {1,2,2,2}
60: {1,1,2,3}
66: {1,2,5}
70: {1,3,4}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], PrimeQ[Total[2^(Union[prix[#]]-1)]]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 16 2024
STATUS
approved