A325532 Difference sequence of A325442.
1, 2, 1, 3, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 3, 2, 1, 3, 2, 2, 1, 1, 2, 1, 3, 2, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 1, 3, 2, 2, 2, 2, 1, 3, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 3, 2, 1, 3, 2, 1, 2, 1, 2, 1, 3, 2, 1, 3, 2, 1, 1, 2, 2, 1, 2, 1, 2, 1, 3, 2, 2, 1, 1, 2, 1
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[{(#+1)/2, #/3}], IntegerQ]]] &]], {20000}]; a; (* A315442 *) c = Complement[Range[Last[a]], a] ; (* A325443 *) Differences[a] (* A325532 *) Differences[c] (* A325533 *) (* Peter J. C. Moses, Apr 23 2019 *)
Comments