This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A195732 Numbers n such that 2*(3^n-n)-1 is prime. 1
 1, 2, 3, 11, 30, 62, 534, 620, 803 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS According to Maple version 14, the next entries are 534, 620 and 803, but these involve primes of 256 and more digits and may not be certified primes. - R. J. Mathar, Sep 23 2011 LINKS EXAMPLE 1 is in the sequence because 2*3^1-2*1-1 = 3 is a prime, 2 is in the sequence because 2*3^2-2*2-1 = 13 is a prime, 3 is in the sequence because 2*3^3-2*3-1=47 ts a prime, 4 is not in the sequence because 2*3^4-2*4-1 = 153 = 3^2*17 is not prime. PROG (PARI) is(n)=ispseudoprime(2*(3^n-n)-1) \\ Charles R Greathouse IV, Jun 13 2017 CROSSREFS Cf. A048473. Sequence in context: A003455 A103275 A278209 * A038987 A142957 A191058 Adjacent sequences:  A195729 A195730 A195731 * A195733 A195734 A195735 KEYWORD nonn AUTHOR Juri-Stepan Gerasimov, Sep 23 2011 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 21 02:02 EDT 2019. Contains 325189 sequences. (Running on oeis4.)