Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100663
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100663 Composite q such that 4^q + q is prime. +0
1
9, 15, 85, 133, 225, 1233 (list; graph; listen)
OFFSET

9,1

MATHEMATICA

For[n = 1, n < 5000, n++, If[Not[PrimeQ[n]], If[PrimeQ[4^n + n], Print[n]]]] (Steinerberger)

PROGRAM

(PARI) \ p^q + q is prime q not prime ptoqpq(p, n)= { local(x, y, q); for(q=6, n, if(q%2, if(!isprime(q), y=p^q+q; if(ispseudoprime(y), print1(q", ")) ) ) ) }

CROSSREFS

Adjacent sequences: A100660 A100661 A100662 this_sequence A100664 A100665 A100666

Sequence in context: A043137 A043917 A037378 this_sequence A029712 A136353 A136354

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 12 2005

EXTENSIONS

a(6) from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jan 27 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research