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.

A290141 Numbers n that have a record maximum (> n) in their aliquot sequence.

Original entry on oeis.org

12, 18, 20, 24, 30, 102, 120, 138
Offset: 1

Views

Author

Amiram Eldar, Jul 21 2017

Keywords

Comments

Maximum term in the aliquot sequence of n is considered only if it is larger than n.
The record values are in A290142.

Examples

			The aliquot sequence of 30 is: 30, 42, 54, 66, 78, 90, 144, 259, 45, 33, 15, 9, 4, 3, 1. The maximum is 259 which is larger than 30, and larger than the maxima of all the aliquot sequences of the numbers below 30.
		

Crossrefs

Programs

  • Mathematica
    g[n_] := If[n > 0, DivisorSigma[1, n] - n, 0]; f[n_] := NestWhileList[g, n, UnsameQ, All]; seq = {}; a = -1; seq = {}; Do[b = Max[Drop[f[n], 1]];  If[b > a, a = b; AppendTo[seq, n]], {n, 2, 275}]; seq (* after Robert G. Wilson v at A098009 *)