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.

A303578 List of starts of nondecreasing runs of values of d(n) (the divisor function A000005(n)).

Original entry on oeis.org

1, 5, 7, 9, 11, 13, 17, 19, 21, 23, 25, 29, 31, 33, 37, 41, 43, 46, 47, 49, 51, 53, 55, 57, 59, 61, 65, 67, 69, 71, 73, 77, 79, 81, 82, 83, 85, 89, 91, 93, 97, 101, 103, 106, 107, 109, 111, 113, 115, 118, 121, 125, 127, 129, 131, 133, 137, 139, 141, 145, 149, 151, 153, 155, 157, 161, 163, 166, 167, 169, 171, 173, 175
Offset: 1

Views

Author

N. J. A. Sloane, Apr 29 2018

Keywords

Crossrefs

Cf. A000005.
A303577 gives the lengths of the successive runs.
A284597(m) is the smallest number that starts a run of length m.

Programs

  • AWK
    # Assume that b.txt contains a b-file for A000005
    awk ' BEGIN {i = 1; print i}
          {if ($2 < i) print $1; i = $2} ' b.txt >out