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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058044 Difference between the smallest prime following and largest prime preceding n-th primorial number. 3
2, 2, 12, 2, 18, 48, 46, 80, 102, 74, 120, 72, 136, 174, 132, 168, 198, 190, 230, 176, 234, 286, 102, 354, 364, 336, 278, 486, 442, 386, 408, 1032, 520, 308, 364, 612, 478, 432, 382, 422, 606, 526, 1344, 606, 1230, 834, 624, 756, 550 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..48.

FORMULA

[seq(nextprime(product(ithprime(k), k=1..w))-prevprime (product(ithprime(k), k=1..w)), w=2..50)]; a(n)=A038710(n)-A007014(n)

MATHEMATICA

Rest[NextPrime[#]-NextPrime[#, -1]&/@Rest[FoldList[Times, 1, Prime[Range[ 50]]]]] (* Harvey P. Dale, Mar 24 2013 *)

CROSSREFS

A002110, A007014, A038710.

Sequence in context: A095215 A217094 A076976 * A223453 A128269 A109813

Adjacent sequences:  A058041 A058042 A058043 * A058045 A058046 A058047

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Nov 17 2000

STATUS

approved

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 May 22 05:54 EDT 2013. Contains 225511 sequences.