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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074382 Difference between (1+3^n)-th and (3^n)-th primes. 1
2, 6, 4, 2, 6, 2, 12, 12, 12, 30, 18, 24, 10, 14, 32, 22, 12, 14, 10, 6, 12, 30, 44, 40, 54 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..25.

FORMULA

a(n)=p[1+3^n]-p[3^n]

EXAMPLE

n=25: a(25)=54 because the 847288609443rd prime is 25270000074757 and the 847288609444th prime is 25270000074811.

MATHEMATICA

NextPrime[#]-#&/@Table[Prime[3^n], {n, 25}] (* Harvey P. Dale, Sep 29 2015 *)

CROSSREFS

Cf. A074325, A038833.

Sequence in context: A004600 A021795 A008904 * A061350 A046276 A283614

Adjacent sequences:  A074379 A074380 A074381 * A074383 A074384 A074385

KEYWORD

hard,more,nonn

AUTHOR

Labos Elemer, Aug 22 2002

EXTENSIONS

Corrected by Harvey P. Dale, Sep 29 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified September 20 16:22 EDT 2017. Contains 292276 sequences.