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.

A095261 A095259(A095259(n)).

Original entry on oeis.org

1, 2, 3, 4, 16, 10, 46, 6, 5, 26, 8, 39, 51, 69, 17, 34, 18, 9, 29, 66, 40, 60, 38, 25, 11, 12, 21, 28, 41, 64, 112, 7, 130, 14, 89, 67, 55, 92, 71, 93, 448, 91, 189, 107, 85, 44, 56, 48, 22, 169, 50, 273, 158, 54, 76, 43, 133, 68, 417, 134, 239, 100, 288, 96, 157
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2004

Keywords

Comments

Integer permutation with inverse A095260: a(A095260(n))=A095260(a(n))=n;
A095258(a(n))=a(A095258(n))=A095259(n).

A095258 a(n+1) is the smallest divisor of (2 + sum of first n terms) but not occurring earlier; a(1) = 1.

Original entry on oeis.org

1, 3, 2, 4, 6, 9, 27, 18, 8, 5, 17, 34, 68, 12, 24, 10, 25, 11, 13, 23, 7, 47, 94, 235, 15, 16, 32, 48, 51, 289, 578, 102, 36, 26, 73, 219, 30, 20, 14, 46, 50, 470, 60, 40, 146, 21, 49, 28, 113, 29, 19, 35, 42, 54, 64, 22, 77, 329, 84, 56, 292, 365, 65, 37, 131, 38, 33
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2004

Keywords

Comments

Conjecture: integer permutation with inverse A095259: a(A095259(n))=A095259(a(n))=n. - Comment revised: Reinhard Zumkeller, Dec 31 2014
A095260(n) = a(a(n)).
First fixed points: 1, 4, 54, 416, ...
A253415(n) = smallest missing number within the first n terms. - Reinhard Zumkeller, Dec 31 2014

Crossrefs

Cf. A253415.

Programs

A253415 Smallest missing number within the first n terms in A095258.

Original entry on oeis.org

2, 4, 5, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 22, 22, 22, 22, 22, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31
Offset: 2

Views

Author

Reinhard Zumkeller, Dec 31 2014

Keywords

Crossrefs

Cf. A095258, A095259, A253425 (run lengths).

Programs

A253443 Smallest missing number within the first n terms in A109890.

Original entry on oeis.org

4, 4, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 34, 37, 37, 37, 37, 37
Offset: 4

Views

Author

Reinhard Zumkeller, Jan 01 2015

Keywords

Comments

A253584(n) occurs exactly A253444(n) times.

Crossrefs

Cf. A095258, A095259, A253444 (run lengths), A253584 (range), A253415.

Programs

  • Haskell
    import Data.List (insert)
    a253443 n = a253443_list !! (n-4)
    a253443_list = f (4, []) 6 where
       f (m,ys) z = g $ dropWhile (< m) $ a027750_row' z where
         g (d:ds) | elem d ys = g ds
                  | otherwise = m : f (ins [m, m+1 ..] (insert d ys)) (z + d)
         ins (u:us) vs'@(v:vs) = if u < v then (u, vs') else ins us vs
    -- Reinhard Zumkeller, Jan 03 2015

A095260 a(n) = A095258(A095258(n)).

Original entry on oeis.org

1, 2, 3, 4, 9, 8, 32, 11, 18, 6, 25, 26, 99, 34, 235, 5, 15, 17, 68, 94, 27, 49, 241, 243, 24, 10, 102, 28, 19, 10519, 505, 74, 219, 16, 119, 506, 289, 23, 12, 21, 29, 925, 56, 46, 116, 7, 113, 48, 193, 51, 13, 73, 470, 54, 37, 47, 72, 174, 85, 22, 471, 479, 131
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2004

Keywords

Comments

Integer permutation with inverse A095261: a(A095261(n)) = A095261(a(n)) = n;
A095259(a(n)) = a(A095259(n)) = A095258(n).

Crossrefs

A109736 Where n appears in A109890.

Original entry on oeis.org

1, 2, 3, 5, 9, 4, 23, 6, 8, 10, 40, 7, 22, 30, 11, 15, 67, 19, 49, 13, 38, 42, 43, 14, 12, 56, 21, 46, 48, 18, 58, 16, 41, 68, 37, 20, 89, 57, 60, 55, 76, 63, 151, 78, 107, 96, 98, 17, 61, 65, 69, 71, 24, 103, 87, 64, 80, 74, 44, 83, 59, 92, 101, 94, 72, 91, 185, 142, 104, 45
Offset: 1

Views

Author

N. J. A. Sloane and Nadia Heninger, Aug 11 2005

Keywords

Comments

a(10^n): 1, 10, 128, 1430, ... - Robert G. Wilson v, Aug 12 2005
a(n) = A094341(n) for 3 <= n <= 70. - Georg Fischer, Nov 02 2018
According to the remarks in A109890, A094339 and A109890 are essentially the same, just swapping the first 2 terms, so this here is a(n)=A094341(n) for n>=3. - R. J. Mathar, Jul 02 2025

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex); import Data.Maybe (fromJust)
    a109736 = (+ 1) . fromJust . (`elemIndex` a109890_list)
    -- Reinhard Zumkeller, Jan 01 2015
  • Mathematica
    a[1] = 1; a[2] = 2; a[n_] := a[n] = Block[{t = Table[a[i], {i, n - 1}]}, s = Plus @@ t; d = Divisors[s]; l = Complement[d, t]; If[l != {}, k = First[l], k = s; While[Position[t, k] == {}, k += s]; k]]; t = Table[a[n], {n, 250}]; Table[k = 1; While[ t[[k]] != n, k++ ]; k, {n, 70}] (* Robert G. Wilson v, Aug 12 2005 *)

Extensions

More terms from Robert G. Wilson v, Aug 12 2005
Showing 1-6 of 6 results.