A342616 a(1) = 1, a(n+1) = Sum_{d | a(n)} c_d, where c_d = number of instances of d | a(k) for 1 <= k < n.
1, 1, 2, 4, 7, 6, 11, 8, 15, 13, 11, 13, 14, 21, 21, 25, 19, 18, 33, 29, 21, 36, 49, 30, 52, 43, 27, 41, 29, 31, 31, 33, 49, 42, 76, 55, 46, 51, 53, 40, 70, 78, 85, 53, 46, 65, 60, 116, 79, 50, 87, 72, 123, 74, 77, 72, 140, 132, 143, 74, 89, 62, 92, 110, 125, 82
Offset: 1
Examples
a(2) = 1 since we have 1 instance of 1 | a(k) for 1 <= k < n (which we shall abbreviate hereinafter as a count 1(1)). a(3) = 2 since we have 2(1). a(4) = 4 since we have 3(1) and 1(2). a(5) = 7 since we have 4(1), 2(2), and 1(4). a(6) = 6 since we have 5(1) and 1(7). a(7) = 11 since we have 6(1), 3(2), 1(3), and 1(6); 6+3+1+1 = 11.
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
- Michael De Vlieger, Plot of a(n) for 1 <= n <= 2^20, showing "paint sprayer" striation features akin to A279818.
- Michael De Vlieger, Plot of a(n) for 1 <= n <= 2^14. The color code applies to the progenitor m -> a(n). If m is prime, we plot (n,a(n)) in red. If m is odd and composite, we plot (n,a(n)) in yellow. If m is even and composite we plot (n,a(n)) in blue.
- Michael De Vlieger, Plot of a(n) for 1 <= n <= 2^14. The color code applies to the divisor counting function tau(m) for m -> a(n), with red signifying a low number of divisors and blue and violet signifying the highest number of divisors.
- Michael De Vlieger, Plot of a(n) for 1 <= n <= 4096 highlighting squarefree semiprime m -> a(n), color coding a(n) according to least prime factor of m. Red indicates lpf(m) = 2, orange lpf(m) = 3, etc.
Programs
-
Mathematica
Block[{a = {1}, c}, Do[(Map[If[! IntegerQ[c[#] ], Set[c[#], 1], c[#]++] &, #]; AppendTo[a, Total[Map[c[#] &, #]] ]) &@ Divisors[a[[-1]] ], 65]; a] (* Michael De Vlieger, Mar 17 2021 *)
Comments