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.

A240990 Smallest integer m such that A240923(m) = n.

Original entry on oeis.org

1, 6, 15, 10, 14, 72, 22, 26, 42, 34, 38, 588, 46, 240, 78, 58, 62, 1456, 92, 74, 114, 82, 86, 1764, 70, 760, 640, 106, 195, 792, 108, 122, 186, 172, 134, 432, 110, 146, 222, 816, 158, 1656, 130, 396, 258, 178, 411, 3000, 154, 194, 342, 202, 206, 11904, 170
Offset: 0

Views

Author

Michel Marcus, Aug 06 2014

Keywords

Examples

			sigma(6)/6 = 2/1 = (sigma(1)+1)/1, where sigma is A000203, so A240923(6)=1, and it is the smallest such integer, so a(1)=6.
		

Crossrefs

Programs

  • PARI
    a240923(n) = my(ab = sigma(n)/n); numerator(ab) - sigma(denominator(ab));
    a(n) = my(k = 1); while(a240923(k) != n, k++); k;