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

A253425 Lengths of runs of identical terms in A253415.

Original entry on oeis.org

1, 1, 6, 11, 18, 12, 5, 22, 91, 143, 1, 93, 370, 182, 20, 20, 315, 332, 973, 157, 1223, 1807, 325, 4044, 7412, 11211, 4600, 2176, 14848, 4659, 3123, 10852, 1678, 20862, 3348
Offset: 1

Views

Author

Reinhard Zumkeller, Dec 31 2014

Keywords

Crossrefs

Programs

Extensions

a(14)-a(35) from Michael De Vlieger, Jan 23 2022

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

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
Showing 1-3 of 3 results.