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!)
A231624 Smallest sets of 3 consecutive deficient numbers in arithmetic progression. The initial deficient number is listed. 6

%I #5 Nov 13 2013 15:04:08

%S 1,2,3,7,8,9,13,14,15,17,21,25,27,31,32,33,37,39,43,44,45,49,50,51,53,

%T 57,61,62,63,67,69,73,74,75,77,81,85,87,91,92,93,97,99,101,105,109,

%U 111,115,116,117,121,122,123,127,128,129,133,134,135,137,141

%N Smallest sets of 3 consecutive deficient numbers in arithmetic progression. The initial deficient number is listed.

%H Shyam Sunder Gupta, <a href="/A231624/b231624.txt">Table of n, a(n) for n = 1..5000</a>

%e 1, 2, 3 is the smallest set of 3 consecutive deficient numbers in arithmetic progression so 1 is in the list.

%t DefQ[n_] := DivisorSigma[1, n] < 2 n; m = 2; z1 = 2; cd = 1; a = {}; Do[If[DefQ[n], If[n - z1 == cd, m = m + 1; If[m > 2, AppendTo[a, n - 2*cd]], m = 2; cd = n - z1]; z1 = n], {n, 3, 1000000}]; a

%Y Cf. A005100, A231623, A228844.

%K nonn

%O 1,2

%A _Shyam Sunder Gupta_, Nov 11 2013

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 August 13 20:02 EDT 2024. Contains 375144 sequences. (Running on oeis4.)