A325499 Difference sequence of A325424.
1, 5, 2, 2, 2, 1, 3, 3, 1, 4, 1, 5, 1, 1, 4, 1, 1, 6, 2, 2, 1, 5, 1, 1, 2, 2, 7, 1, 2, 2, 1, 7, 2, 2, 1, 1, 2, 3, 1, 4, 6, 1, 1, 2, 2, 1, 7, 4, 1, 3, 2, 1, 1, 2, 2, 1, 1, 5, 1, 4, 1, 5, 2, 2, 2, 1, 1, 2, 3, 1, 4, 7, 1, 4, 1, 1, 5, 1, 2, 2, 1, 3, 2, 1, 1, 2
Offset: 1
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, Apply[Or, Map[MemberQ[a, #] &, Select[Flatten[{#/3, #/2}], IntegerQ]]] &]], {2000}]; a ; (* A036668 *) c = Complement[Range[Last[a]], a] ; (* A325424 *) Differences[a] (* A325498 *) Differences[c] (* A325499 *) (* Peter J. C. Moses, Apr 23 2019 *)
Formula
Asymptotic mean: lim_{n->oo} (1/n) * Sum_{k=1..n} a(k) = 12/5. - Amiram Eldar, Nov 26 2020
Comments