A304038 Irregular triangle T(n,k) read by rows: first row is 0, n-th row (n > 1) lists indices of distinct primes dividing n.
0, 1, 2, 1, 3, 1, 2, 4, 1, 2, 1, 3, 5, 1, 2, 6, 1, 4, 2, 3, 1, 7, 1, 2, 8, 1, 3, 2, 4, 1, 5, 9, 1, 2, 3, 1, 6, 2, 1, 4, 10, 1, 2, 3, 11, 1, 2, 5, 1, 7, 3, 4, 1, 2, 12, 1, 8, 2, 6, 1, 3, 13, 1, 2, 4, 14, 1, 5, 2, 3, 1, 9, 15, 1, 2, 4, 1, 3, 2, 7, 1, 6, 16, 1, 2, 3, 5, 1, 4, 2, 8, 1, 10, 17, 1, 2, 3, 18, 1, 11
Offset: 1
Examples
The irregular triangle begins: 1: {0} 2: {1} 3: {2} 4: {1} 5: {3} 6: {1, 2} 7: {4} 8: {1} 9: {2} 10: {1, 3} 11: {5} 12: {1, 2}
Links
- Eric Weisstein's World of Mathematics, Distinct Prime Factors
- Index entries for sequences computed from indices in prime factorization
Crossrefs
Programs
-
Mathematica
Flatten[Table[PrimePi[FactorInteger[n][[All, 1]]], {n, 1, 62}]]