cp's OEIS Frontend

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.

Showing 1-4 of 4 results.

A325430 Complement of A325429.

Original entry on oeis.org

3, 6, 7, 12, 13, 15, 16, 21, 24, 25, 27, 28, 30, 33, 34, 39, 42, 43, 46, 48, 51, 52, 54, 55, 57, 60, 61, 66, 67, 69, 70, 73, 75, 78, 79, 84, 87, 88, 93, 94, 96, 97, 102, 105, 106, 108, 111, 114, 115, 120, 121, 123, 124, 127, 129, 132, 133, 135, 136, 138, 141
Offset: 1

Views

Author

Clark Kimberling, Apr 30 2019

Keywords

Comments

These are the numbers 3x and floor(3x/2) as x ranges through the numbers x>1 in A325429.

Crossrefs

Programs

  • Mathematica
    a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, Apply[Or,
    Map[MemberQ[a, #] &, Select[Flatten[{#/3,
    If[Mod[#, 3] == 0, (2 #)/3, 0] + If[Mod[#, 3] == 1, 1/3 (1 + 2 #), 0]}],
    IntegerQ || # == 0]]] &]], {150}]; a  (* A325429 *)
    Complement[Range[Last[a]], a]         (* A325430 *)
    (* Peter J. C. Moses, Apr 25 2019 *)

A325522 Difference sequence of A325429.

Original entry on oeis.org

1, 2, 1, 3, 1, 1, 1, 3, 3, 1, 1, 1, 2, 1, 3, 3, 2, 1, 3, 1, 1, 1, 2, 1, 3, 1, 2, 2, 1, 3, 3, 2, 1, 3, 1, 1, 1, 3, 3, 1, 2, 2, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1, 1, 3, 3, 1, 1, 1, 2, 1, 3, 2, 1, 2, 1, 3, 1, 1, 1, 3, 3, 1, 2, 2, 1, 3, 3, 2, 1, 3, 1, 1, 1, 3, 3, 1
Offset: 1

Views

Author

Clark Kimberling, May 06 2019

Keywords

Comments

See A325417 for a guide to related sequences. Conjecture: every term is in {1,2,3}.

Crossrefs

Programs

  • Mathematica
    a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, Apply[Or,
    Map[MemberQ[a, #] &, Select[Flatten[{#/3,
    If[Mod[#, 3] == 0, (2 #)/3, 0] + If[Mod[#, 3] == 1, 1/3 (1 + 2 #), 0]}],
    IntegerQ || # == 0]]] &]], {20000}]; a ;   (* A325429 *)
    c = Complement[Range[Last[a]], a] ;        (* A325430 *)
    Differences[a]  (* A325522 *)
    Differences[c]  (* A325523 *)
    (* Peter J. C. Moses, Apr 23 2019 *)

A325417 a(n) is the least number not 2*a(m) or 3*a(m)+1 for any m < n.

Original entry on oeis.org

1, 3, 5, 7, 8, 9, 11, 12, 13, 15, 17, 19, 20, 21, 23, 27, 29, 31, 32, 33, 35, 36, 39, 41, 43, 44, 45, 47, 48, 49, 50, 51, 53, 55, 56, 57, 59, 60, 63, 65, 67, 68, 69, 71, 73, 74, 75, 76, 77, 79, 80, 81, 83, 84, 85, 87, 89, 91, 92, 93, 95, 99, 101, 103, 104
Offset: 1

Views

Author

Clark Kimberling, Apr 24 2019

Keywords

Comments

In column 1 of the following guide to related sequences, disallowed terms are indicated by the variable x representing a(m) for m < n.
Disallowed Sequence(a) Complement(c) Differences(a) Differences(c)

Examples

			The sequence necessarily starts with 1.  The next 2 terms are determined as follows:  because a(1) = 1, the numbers 2 and 4 are disallowed, so that a(2) = 3, whence the numbers 6 and 10 are disallowed, so that a(3) = 5.
		

Crossrefs

Programs

  • Mathematica
    a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1,
    Apply[Or, Map[MemberQ[a, #] &, Select[Flatten[{#/2, (# - 1)/3}],
    IntegerQ]]] &]], {150}]; a     (* A325417 *)
    Complement[Range[Last[a]], a]  (* A325418 *)
    (* Peter J. C. Moses, Apr 23 2019 *)

A325523 Difference sequence of A325430.

Original entry on oeis.org

3, 1, 5, 1, 2, 1, 5, 3, 1, 2, 1, 2, 3, 1, 5, 3, 1, 3, 2, 3, 1, 2, 1, 2, 3, 1, 5, 1, 2, 1, 3, 2, 3, 1, 5, 3, 1, 5, 1, 2, 1, 5, 3, 1, 2, 3, 3, 1, 5, 1, 2, 1, 3, 2, 3, 1, 2, 1, 2, 3, 1, 5, 1, 2, 1, 3, 2, 3, 1, 3, 2, 3, 1, 5, 1, 2, 1, 5, 3, 1, 2, 3, 3, 1, 5, 3
Offset: 1

Views

Author

Clark Kimberling, May 06 2019

Keywords

Comments

See A325417 for a guide to related sequences. Conjecture: every term is in {1,2,3,5}.

Crossrefs

Programs

  • Mathematica
    a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, Apply[Or,
    Map[MemberQ[a, #] &, Select[Flatten[{#/3,
    If[Mod[#, 3] == 0, (2 #)/3, 0] + If[Mod[#, 3] == 1, 1/3 (1 + 2 #), 0]}],
    IntegerQ || # == 0]]] &]], {20000}]; a ;   (* A325429 *)
    c = Complement[Range[Last[a]], a] ;        (* A325430 *)
    Differences[a]  (* A325522 *)
    Differences[c]  (* A325523 *)
    (* Peter J. C. Moses, Apr 23 2019 *)
Showing 1-4 of 4 results.