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!)
A125238 Differences between consecutive deficient numbers. 4
1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
The first 3 occurs at n=4340. - R. J. Mathar, Jul 08 2015
LINKS
FORMULA
a(n) = A005100(n+1) - A005100(n).
Asymptotic mean: lim_{n->oo} (1/n) Sum_{k=1..n} a(k) = 1/A318172 = 1.3291... - Amiram Eldar, Oct 21 2020
EXAMPLE
a(1) = 1 because 2-1 = 1.
a(5) = 2 because 7-5 = 2.
MAPLE
A125238 := proc(n)
A005100(n+1)-A005100(n) ;
end proc: # R. J. Mathar, Jul 08 2015
MATHEMATICA
Differences@ Select[Range@ 105, DivisorSigma[1, #] < 2 # &] (* Michael De Vlieger, Jun 29 2018 *)
PROG
(GAP) A:=Filtered([1..100], n->Sigma(n)<2*n);; a:=List([1..Length(A)-1], i->A[i+1]-A[i]); # Muniru A Asiru, Jun 26 2018
CROSSREFS
Sequence in context: A328511 A371245 A043278 * A025896 A050432 A343747
KEYWORD
easy,nonn
AUTHOR
Jason G. Wurtzel, Nov 25 2006
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 April 24 06:07 EDT 2024. Contains 371918 sequences. (Running on oeis4.)