A337182 a(1) = 1, a(2) = 2; for n>2, a(n) is the smallest number not already used which is a multiple of the product of the most frequently occurring distinct prime factors in a(n-1).
1, 2, 4, 6, 12, 8, 10, 20, 14, 28, 16, 18, 3, 9, 15, 30, 60, 22, 44, 24, 26, 52, 32, 34, 68, 36, 42, 84, 38, 76, 40, 46, 92, 48, 50, 5, 25, 35, 70, 140, 54, 21, 63, 27, 33, 66, 132, 56, 58, 116, 62, 124, 64, 72, 74, 148, 78, 156, 80, 82, 164, 86, 172, 88, 90, 39, 117, 45, 51, 102, 204
Offset: 1
Keywords
Examples
a(4) = 6 as a(3) = 4 = 2*2, and since 2 is the only prime factor, a(4) must be the smallest unused multiple of 2, which is 6. a(5) = 12 as a(4) = 6 = 2*3, thus as 2 and 3 both occur once, a(5) must be the smallest unused multiple of 2*3 = 6, which is 12. a(6) = 8 as a(5) = 12 = 2*2*3, thus as 2 is the most frequently occurring factor, a(6) must be the smallest unused multiple of 2, which is 8. a(13) = 3 as a(12) = 18 = 2*3*3, thus as 3 is the most frequently occurring factor, a(13) must be the smallest unused multiple of 3, which is 3. a(17) = 60 as a(16) = 30 = 2*3*5, thus as 2,3 and 5 all occur once, a(17) must be the smallest unused multiple of 2*3*5 = 30, which is 60.
Links
- Scott R. Shannon, Table of n, a(n) for n = 1..20000
- Scott R. Shannon, Image of the first 3500000 terms. The green line is a(n)=n.
- Scott R. Shannon, Image of the first 3500000 terms showing the least prime factor. The terms with at least prime factor of 2,3,5,7,11,13 or 17 are shown as red, orange, yellow, green, blue, indigo and violet respectively, while terms with a least prime factor >= 19 are shown as white.
- Scott R. Shannon, Image of the first 3500000 terms showing the least prime factor other than 2 for the even terms. The even terms with a next least prime factor of 3,5,7,11,13 or 17 are shown as orange, yellow, green, blue, indigo and violet respectively, while terms with a least prime factor >= 19 are shown as white.
- Scott R. Shannon, Image of the first 3500000 terms showing the number of prime divisors for each term. The terms with 1,2,3,4,5,6,7 or 8 prime factors are shown as white, red, orange, yellow, green, blue, indigo and violet respectively, while terms with 9 or more are show in grey.
- Scott R. Shannon, Image of the first 3500000 terms with 3 as a factor. Note none of the lines are curved.
- Scott R. Shannon, Image of the first 3500000 terms with 5 as a factor.
- Scott R. Shannon, Image of the first 3500000 terms with 7 as a factor. Note none of the lines are curved.
- Scott R. Shannon, Image of the first 3500000 terms with 11 as a factor.
- Scott R. Shannon, Image of the first 3500000 terms with 13 as a factor.
- Scott R. Shannon, Image of the first 3500000 terms with 17 as a factor.
- Scott R. Shannon, Image of the first 3500000 terms with 19 as a factor.
Comments