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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A253772 Numbers n such that 4^n + 13 is prime. 7
1, 2, 4, 10, 19, 32, 40, 146, 566, 2054, 9967, 62639, 87814, 141092 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Numbers of the form 4^n+k (for n>0) are never primes when k is even (obviously) or when k == -1 (mod 6): in the last case, in fact, (3+1)^n + 6*h-1 is divisible by 3. - Bruno Berselli, Oct 06 2015

LINKS

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

MATHEMATICA

Select[Range[4000], PrimeQ[4^# + 13] &]

PROG

(MAGMA) [n: n in [0..2000] | IsPrime(4^n+13)];

(PARI) is(n)=ispseudoprime(4^n+13) \\ Charles R Greathouse IV, Feb 17 2017

CROSSREFS

Cf. A104067.

Cf. numbers n such that 4^n+k is prime: A089437 (k=3), A217349 (k=7), A217350 (k=9), this sequence (k=13), A253773 (k=15), A253774 (k=19), A262345 (k=21), A204388 (k=25), A262969 (k=27), A262971 (k=31), A262972 (k=33).

Sequence in context: A257593 A197926 A228705 * A043330 A295961 A219555

Adjacent sequences:  A253769 A253770 A253771 * A253773 A253774 A253775

KEYWORD

nonn,more

AUTHOR

Vincenzo Librandi, Jan 12 2015

EXTENSIONS

a(11)-a(14) derived from A102634 by Robert Price, Sep 06 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 October 24 01:20 EDT 2018. Contains 316541 sequences. (Running on oeis4.)