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!)
A074382 Difference between (1+3^n)-th and (3^n)-th primes. 1

%I #12 Aug 30 2019 14:10:15

%S 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,

%T 54,28,8,24,26,6,8,28,48,12,158,20

%N Difference between (1+3^n)-th and (3^n)-th primes.

%F a(n) = prime(1+3^n) - prime(3^n).

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

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

%Y Cf. A074325, A038833.

%K hard,more,nonn

%O 0,2

%A _Labos Elemer_, Aug 22 2002

%E Corrected by _Harvey P. Dale_, Sep 29 2015

%E a(0), a(26)-a(36) from _Chai Wah Wu_, Aug 30 2019

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 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)