login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110585 Smallest number k of consecutive primes > p_n such that p_n^2 * p_(n+1) * p_(n+2) * ... * p_(n+k) is an abundant number. 3

%I

%S 1,3,7,16,29,44,65,89,120,155,192,236,282,332,390,453,520,589,666,746,

%T 832,927,1026,1131,1239,1350,1467,1592,1725,1867,2017,2161,2313,2469,

%U 2634,2800,2975,3155,3339,3532,3729,3931,4143,4356,4579,4809,5051,5291

%N Smallest number k of consecutive primes > p_n such that p_n^2 * p_(n+1) * p_(n+2) * ... * p_(n+k) is an abundant number.

%C The sequence arose while solving puzzle 329 from Carlos Rivera's Prime puzzles site.

%H Carlos Rivera, <a href="http://primepuzzles.net/puzzles/puzz_329.htm">Puzzle 329. Odd abundant numbers not divided by 2 or 3.</a>

%e a(2)=3 because the second prime being 3, then 3^2 * 5 * 7 * 11 = 3465 and

%e sigma(3465) - 2*3465 = 558, a positive number, but

%e 3^2 * 5 * 7 = 315 and sigma(315) - 2*315 = -6, a non-positive number.

%t abQ[n_] := DivisorSigma[1, n] > 2n; f[0] = 0; f[n_] := f[n] = Block[{k = f[n - 1]}, p = Fold[Times, Prime[n], Prime[ Range[n, n + k]]]; While[ !abQ[p], k++; p = p*Prime[n + k]]; k]; Table[ f[n], {n, 48}] (* Robert G. Wilson v *)

%o (PARI) forprime(p=2,100,k=0;while(k++,if(sigma(n=p^2*prod(j=1,k,prime(j+primepi(p))))-n>n,print(k);break)))

%Y Cf. A005101.

%K nonn

%O 1,2

%A Igor Schein (igor(AT)txc.com), Sep 13 2005

%E Edited and extended by _Robert G. Wilson v_, Sep 15 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 18 22:35 EDT 2013. Contains 226356 sequences.