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.

A258432 Smallest number m such that A062234(m) = A062234(m-1+k) for k = 1..A258383(n).

Original entry on oeis.org

1, 3, 5, 7, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2015

Keywords

Examples

			.       n | 1 2   3 4   5 6    7  8    9   10   11   12   13 14   15
. A062234 | 1 1   3 3   9 9   15 15   17   27   25   33   39 39   41
. --------+-----+-----+-----+-------+----+----+----+----+-------+----+-
. A258383 | 2   | 2   | 2   | 2     | 1  |  1 |  1 |  1 |  2    |  1 |
. A258432 | 1   | 3   | 5   | 7     | 9  | 10 | 11 | 12 | 13    | 15 |
. run #   | 1   | 2   | 3   | 4     | 5  |  6 |  7 |  8 |  9    | 10 |
		

Crossrefs

Programs

  • Haskell
    import Data.List (groupBy); import Data.Function (on))
    a258432 n = a258432_list !! (n-1)
    a258432_list = map (snd . head) $
                        groupBy ((==) `on` fst) $ zip a062234_list [1..]