login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A241852 Number m that give records for the difference between the maximum and minimum x's such that sigma(x)=m. 3
1, 12, 18, 24, 32, 42, 60, 72, 90, 140, 168, 224, 234, 252, 312, 360, 468, 480, 576, 588, 600, 684, 702, 720, 728, 744, 840, 864, 992, 1092, 1232, 1240, 1260, 1344, 1440, 1488, 1512, 1560, 1860, 1872, 2016, 2240, 2340, 2352, 2418, 2688, 2730, 2880, 3360, 3528 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
Only sigma(1)=1, hence the first difference is 0.
The next m with several x's is 12 with sigma(6)=sigma(11)=12, difference 5 is > 0.
PROG
(PARI) sigv(n) = select(i->sigma(i) == n, vector(n, i, i));
ds(n) = {v = sigv(n); if (#v == 0, 0, vecmax(v) - vecmin(v)); }
lista(nn) = {dmax = -1; for (n=1, nn, if ((dv = ds(n)) > dmax, print1(n, ", "); dmax = dv; ); ); }
CROSSREFS
Cf. A241853 (corresponding differences), A241854 (similar but with quotients).
Sequence in context: A241646 A181941 A206449 * A113756 A055482 A284342
KEYWORD
nonn
AUTHOR
Michel Marcus, Apr 30 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 25 18:29 EDT 2024. Contains 374612 sequences. (Running on oeis4.)