This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A325497 #6 May 06 2019 08:48:08 %S A325497 1,1,2,6,4,2,2,2,2,3,1,2,2,1,3,4,2,2,1,3,4,2,6,4,2,4,2,4,2,2,1,3,4,2, %T A325497 4,2,4,2,2,1,3,4,2,2,1,1,2,4,2,2,4,4,2,2,1,3,4,2,2,1,3,4,2,4,2,3,1,2, %U A325497 2,1,3,4,2,2,1,3,4,2,2,4,3,1,2,4,2,4 %N A325497 Difference sequence of A325422. %C A325497 See A325417 for a guide to related sequences. Conjecture: every term is in {1,2,3,4,6}. %H A325497 Clark Kimberling, <a href="/A325497/b325497.txt">Table of n, a(n) for n = 1..10000</a> %e A325497 A325422 is given by A(n) = least number not 2*A(m)+1 or 3*A(m)+1 for any m < n, so that A = (3,4,5,7,13,17,19,...), with differences (1,1,2,6,4,2,...). %t A325497 a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, %t A325497 Apply[Or, Map[MemberQ[a, #] &, Select[Flatten[{(#-1)/3, (# - 1)/2}], %t A325497 IntegerQ]]] &]], {2000}]; a ; (* A077477 *) %t A325497 c = Complement[Range[Last[a]], a] ; (* A325422 *) %t A325497 Differences[a] (* A325496 *) %t A325497 Differences[c] (* A325497 *) %t A325497 (* _Peter J. C. Moses_, Apr 23 2019 *) %Y A325497 Cf. A325417, A325422. %K A325497 nonn,easy %O A325497 1,3 %A A325497 _Clark Kimberling_, May 05 2019