Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100556
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100556 Composite numbers q such that 2^q + q is prime. +0
1
9, 15, 39, 75, 81, 735, 1311, 1881, 3201, 3225, 11795 (list; graph; listen)
OFFSET

1,1

LINKS

Cino Hilliard, Title?.

EXAMPLE

For q=9, 2^9 + 9 = 521, prime.

Note that 2^11795 + 11795 is prime but 11795 is composite and not divisible by 3.

MATHEMATICA

Do[If[ !PrimeQ[n] && PrimeQ[2^n + n], Print[n]], {n, 2, 10^6}] - Ryan Propper (rpropper(AT)stanford.edu), Jul 21 2006

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), print(q", "y", ")) ) ) ) }

CROSSREFS

Sequence in context: A058505 A133763 A146475 this_sequence A057478 A128687 A146789

Adjacent sequences: A100553 A100554 A100555 this_sequence A100557 A100558 A100559

KEYWORD

more,nonn

AUTHOR

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

EXTENSIONS

One more term from Ryan Propper (rpropper(AT)stanford.edu), Jul 21 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 December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research