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.

A228844 Smallest sets of 3 consecutive abundant numbers in arithmetic progression. The initial abundant number is listed.

Original entry on oeis.org

24, 42, 80, 100, 104, 114, 120, 126, 144, 162, 180, 196, 200, 220, 228, 234, 240, 246, 272, 282, 288, 304, 324, 348, 350, 364, 392, 402, 420, 426, 440, 460, 504, 572, 582, 588, 594, 608, 616, 624, 640, 654, 660, 666, 684, 700, 708, 714, 728, 736, 740, 786
Offset: 1

Views

Author

Shyam Sunder Gupta, Nov 10 2013

Keywords

Examples

			24, 30, 36 is the smallest set of 3 consecutive abundant numbers in arithmetic progression so 24 is in the list.
		

Crossrefs

Programs

  • Mathematica
    AbundantQ[n_] := DivisorSigma[1, n] > 2 n; m = 2; z1 = 18; cd = 6; a = {}; Do[If[AbundantQ[n], If[n - z1 == cd, m = m + 1; If[m > 2, AppendTo[a, n - 2*cd]], m = 2; cd = n - z1]; z1 = n], {n, 19, 1000000}]; a