A366847 Numbers whose halved even prime indices are nonempty and relatively prime.
3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 91, 93, 96, 99, 102, 105, 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 144, 147, 150, 153, 156, 159, 162, 165, 168, 171, 174
Offset: 1
Keywords
Examples
The even prime indices of 91 are {4,6}, halved {2,3}, which are relatively prime, so 91 is in the sequence. The prime indices of 665 are {3,4,8}, even {4,8}, halved {2,4}, which are not relatively prime, so 665 is not in the sequence. The terms together with their prime indices begin: 3: {2} 6: {1,2} 9: {2,2} 12: {1,1,2} 15: {2,3} 18: {1,2,2} 21: {2,4} 24: {1,1,1,2} 27: {2,2,2} 30: {1,2,3} 33: {2,5} 36: {1,1,2,2} 39: {2,6} 42: {1,2,4} 45: {2,2,3} 48: {1,1,1,1,2}
Programs
-
Mathematica
Select[Range[100],GCD@@Select[PrimePi/@First/@FactorInteger[#],EvenQ]/2==1&]
Comments