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-6 of 6 results.

A050197 a(n) = least k satisfying a(k) = n in A050196.

Original entry on oeis.org

1, 3, 4, 7, 5, 9, 19, 6, 11, 16, 21, 8, 13, 49, 18, 23, 41, 10, 46, 15, 51, 20, 56, 25, 43, 61, 12, 48, 66, 17, 53, 71, 22, 40, 58, 27, 94, 45, 63, 14, 130, 50, 68, 117, 37, 135, 55, 73, 24, 91, 42, 60, 109, 29, 127, 96, 47, 65, 114, 83, 34
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A050196.

A050198 Numbers k such that A050196(k) < A050196(k+1).

Original entry on oeis.org

2, 3, 4, 5, 7, 9, 11, 13, 16, 19, 21, 23, 25, 27, 29, 31, 34, 37, 41, 43, 46, 49, 51, 53, 56, 58, 61, 63, 66, 68, 71, 73, 75, 77, 79, 83, 85, 88, 91, 94, 96, 98, 100, 102, 105, 109, 111, 114, 117, 119, 121, 124, 127, 130, 132, 135, 137
Offset: 1

Views

Author

Keywords

A050199 Numbers k such that A050196(k) > A050196(k+1).

Original entry on oeis.org

6, 8, 10, 12, 14, 15, 17, 18, 20, 22, 24, 26, 28, 30, 32, 33, 35, 36, 38, 39, 40, 42, 44, 45, 47, 48, 50, 52, 54, 55, 57, 59, 60, 62, 64, 65, 67, 69, 70, 72, 74, 76, 78, 80, 81, 82, 84, 86, 87, 89, 90, 92, 93, 95, 97, 99, 101, 103, 104
Offset: 1

Views

Author

Keywords

A050416 a(1)=a(2)=1, then a(n+1) = floor(a(n)/3) if this is not among 0, a(1), ..., a(n); otherwise a(n+1) = a(n) + a(n-1).

Original entry on oeis.org

1, 1, 2, 3, 5, 8, 13, 4, 17, 21, 7, 28, 9, 37, 12, 49, 16, 65, 81, 27, 108, 36, 144, 48, 192, 64, 256, 85, 341, 113, 454, 151, 50, 201, 67, 22, 89, 29, 118, 39, 157, 52, 209, 69, 23, 92, 30, 10, 40, 50, 90, 140, 46, 15, 61, 20, 6, 26, 32
Offset: 1

Views

Author

Keywords

Comments

Numbers appearing among the terms more than once include 1, 50, 265, 341, 516, 570, 622, ... - Ivan Neretin, Sep 04 2015

Crossrefs

Programs

  • Mathematica
    a = {0, 1, 1}; Do[AppendTo[a, If[MemberQ[a, c = Quotient[a[[-1]], 3]], a[[-1]] + a[[-2]], c]], {n, 3, 59}]; Delete[a, 1] (* Ivan Neretin, Sep 04 2015 *)

A050137 a(1)=2; a(n) = floor(a(n-1)/2) if this is not among 0,a(1),...,a(n-1); otherwise a(n) = 2*n.

Original entry on oeis.org

2, 1, 6, 3, 10, 5, 14, 7, 18, 9, 4, 24, 12, 28, 30, 15, 34, 17, 8, 40, 20, 44, 22, 11, 50, 25, 54, 27, 13, 60, 62, 31, 66, 33, 16, 72, 36, 76, 38, 19, 82, 41, 86, 43, 21, 92, 46, 23, 98, 49, 102, 51, 106, 53, 26, 112, 56, 116, 58, 29, 122, 61
Offset: 1

Views

Author

Keywords

Comments

Does this sequence contain every positive integer exactly once?

Crossrefs

Programs

  • Maple
    R:= 2: S:= {2}: a:= 2:
    for n from 2 to 100 do
      t:= floor(a/2);
      if t <> 0 and not member(t,S) then a:= t else a:= 2*n fi;
      R:= R,a; S:= S union {a};
    od:
    R; # Robert Israel, Aug 03 2025

A323890 a(1) = 1, a(2) = 2; thereafter a(n+1) = smallest unused divisor of a(n) if there are any, otherwise a(n) + a(n-1).

Original entry on oeis.org

1, 2, 3, 5, 8, 4, 12, 6, 18, 9, 27, 36, 63, 7, 70, 10, 80, 16, 96, 24, 120, 15, 135, 45, 180, 20, 200, 25, 225, 75, 300, 30, 330, 11, 341, 31, 372, 62, 434, 14, 448, 28, 476, 17, 493, 29, 522, 58, 580, 116, 696, 87, 783, 261, 1044, 174, 1218, 21, 1239, 59, 1298, 22, 1320, 33, 1353
Offset: 1

Views

Author

Ivan Neretin, Sep 02 2019

Keywords

Examples

			a(6) = 4, and all divisors of 4 are already used, hence a(7) = a(6) + a(5) = 8 + 4 = 12. Now the smallest unused divisor of 12 is 6, hence a(8) = 6.
		

Crossrefs

Programs

  • Mathematica
    Nest[Append[#, If[(d = Complement[Divisors@#[[-1]], #]) == {}, #[[-1]] + #[[-2]], Min[d]]] &, {1, 2}, 63]
Showing 1-6 of 6 results.