A372850 Numbers whose distinct prime indices are the binary indices of some prime number.
3, 6, 9, 10, 12, 18, 20, 22, 24, 27, 30, 36, 40, 42, 44, 46, 48, 50, 54, 60, 66, 70, 72, 80, 81, 84, 88, 90, 92, 96, 100, 102, 108, 114, 118, 120, 126, 130, 132, 140, 144, 150, 160, 162, 168, 176, 180, 182, 184, 192, 198, 200, 204, 216, 228, 236, 238, 240, 242
Offset: 1
Keywords
Examples
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}
Crossrefs
Programs
-
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)]]&]
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.
Comments