The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A053238 First differences between numbers k for which sigma(k) > sigma(k+1). 10
2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
It seems that the expansion consists of only {1,2,3,4}.
The first exception is a(18360922) = 6, corresponding to the gap from 36721680 to 36721686. - Charles R Greathouse IV, Mar 09 2014
The asymptotic mean of this sequence is 2 (Erdős, 1936). - Amiram Eldar, Mar 19 2021
LINKS
Paul Erdős, On a problem of Chowla and some related problems, Mathematical Proceedings of the Cambridge Philosophical Society, Vol. 32, No. 4 (1936), pp. 530-540; alternative link.
FORMULA
a(n) = A053226(n+1) - A053226(n).
MAPLE
with(numtheory): f := [seq( `if`((sigma(i) > sigma(i+1)), i, print( )), i=1..5000)];
seq( f[i+1] - f[i], i=1..2000);
MATHEMATICA
Differences[Select[Range[250], DivisorSigma[1, #]>DivisorSigma [1, #+1]&]] (* Harvey P. Dale, Apr 22 2011 *)
Differences[Flatten[Position[Partition[DivisorSigma[1, Range[300]], 2, 1], _?(#[[1]]>#[[2]]&), 1, Heads->False]]] (* Harvey P. Dale, Oct 18 2020 *)
PROG
(Haskell)
a053238 n = a053238_list !! (n-1)
a053238_list = zipWith (-) (tail a053226_list) a053226_list
-- Reinhard Zumkeller, Oct 16 2011
(PARI) last=ls=1; for(n=2, 200, ns=sigma(n+1); if(ls<=ns, ls=ns; next); ls=ns; print1(n-last", "); last=n) \\ Charles R Greathouse IV, Mar 09 2014
CROSSREFS
Sequence in context: A365498 A367515 A122066 * A227783 A216321 A058263
KEYWORD
nonn,nice
AUTHOR
Asher Auel, Jan 10 2000
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 June 9 02:41 EDT 2024. Contains 373227 sequences. (Running on oeis4.)