login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A325494
Difference sequence of A325419.
3
1, 2, 3, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 1, 2, 2, 3, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 1, 2, 3, 1, 2, 2, 2, 2, 3, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 1, 2, 2, 3
OFFSET
1,2
COMMENTS
See A325417 for a guide to related sequences. Conjecture: every term is in {1,2,3}.
LINKS
EXAMPLE
A325419 is given by A(n) = least number not 3*A(m) or 2*A(m)+1 for any m < n, so that A = (1,2,4,7,8,10,11,...), with differences (1,2,3,1,2,1,...).
MATHEMATICA
a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1,
Apply[Or, Map[MemberQ[a, #] &, Select[Flatten[{#/3, (# - 1)/2}],
IntegerQ]]] &]], {2000}]; a ; (* A325419 *)
c = Complement[Range[Last[a]], a] ; (* A325420 *)
Differences[a] (* A325494 *)
Differences[c] (* A325495 *)
(* Peter J. C. Moses, Apr 23 2019 *)
CROSSREFS
Sequence in context: A078711 A338850 A322423 * A295561 A076423 A075660
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 05 2019
STATUS
approved