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!)
A199192 Primes of the form 3^(2n-3)+3^(n-1)+1. 2

%I #9 May 28 2015 16:33:27

%S 7,37,271,2269,19927,129159847,1162320517,

%T 49269609804781974450852068861184694669,

%U 589881151426658740854227725580736348850640632297373414091790995505756623268837

%N Primes of the form 3^(2n-3)+3^(n-1)+1.

%C The corresponding n are in A199191.

%C The next term -- a(10) -- has 152 digits. - _Harvey P. Dale_, May 28 2015

%F Primes in A198410.

%t a={}; Do[p=( (3^(n-1) + 1)^3 -1)/3^n; If[PrimeQ[p], AppendTo[a, p]], {n, 10^2}]; Print[a];

%t Select[Table[3^(2n-3)+3^(n-1)+1,{n,100}],PrimeQ] (* _Harvey P. Dale_, May 28 2015 *)

%Y Cf. A198410, A199191.

%K nonn

%O 1,1

%A _Michel Lagneau_, Nov 03 2011

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 July 28 20:51 EDT 2024. Contains 374726 sequences. (Running on oeis4.)