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.

A053231 First differences between n for which sigma(n) < sigma(n+1), which are not 2.

Original entry on oeis.org

1, 1, 4, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 4, 1, 1, 4, 1, 1, 4, 4, 1, 3, 4, 4, 1, 1, 1, 3, 1, 1, 4, 1, 1, 1, 1, 4, 1, 3, 1, 1, 4, 1, 1, 4, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 3, 4, 1, 1, 1, 1, 1, 3, 4, 1, 1, 1, 1, 4, 4, 1, 1, 4, 4, 1, 1, 1, 3, 4, 1, 1, 1, 1, 4, 1, 1, 1, 1, 4, 1, 3, 1, 3, 4, 4, 1, 1, 1, 1, 4, 1, 1, 4, 1, 1
Offset: 1

Views

Author

Asher Auel, Jan 10 2000

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory): f := [seq( `if`((sigma(i+1) > sigma(i)),i,print( )), i=1..5000)];
    seq( `if`(f[i+1] - f[i] <> 2,f[i+1] - f[i],print( )), i=1..2000);

Formula

The expansion of A053230 excluding 2's. a(n) = A053230(A053232(n)).