A357975 Divide all prime indices by 2, round down, and take the number with those prime indices, assuming prime(0) = 1.
1, 1, 2, 1, 2, 2, 3, 1, 4, 2, 3, 2, 5, 3, 4, 1, 5, 4, 7, 2, 6, 3, 7, 2, 4, 5, 8, 3, 11, 4, 11, 1, 6, 5, 6, 4, 13, 7, 10, 2, 13, 6, 17, 3, 8, 7, 17, 2, 9, 4, 10, 5, 19, 8, 6, 3, 14, 11, 19, 4, 23, 11, 12, 1, 10, 6, 23, 5, 14, 6, 29, 4, 29, 13, 8, 7, 9, 10, 31
Offset: 1
Keywords
Examples
The prime indices of n = 1501500 are {1,1,2,3,3,3,4,5,6}, so the prime indices of a(n) are {1,1,1,1,2,2,3}; hence we have a(1501500) = 720. The 6 odd positions of 2124 are: 63, 99, 105, 165, 175, 275, with prime indices: 63: {2,2,4} 99: {2,2,5} 105: {2,3,4} 165: {2,3,5} 175: {3,3,4} 275: {3,3,5}
Links
- SiYang Hu, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
Table[Times@@(If[#1<=2,1,Prime[Floor[PrimePi[#1]/2]]^#2]&@@@FactorInteger[n]),{n,100}]
Comments