Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108050
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108050 Integers n such that 10^n+21 is prime. +0
28
1, 3, 9, 17, 55, 77, 133, 195, 357, 1537, 2629, 3409, 8007 (list; graph; listen)
OFFSET

1,2

COMMENT

Some of the larger entries may only correspond to probable primes.

There cannot be any primes of this form when n is even, because all such numbers must be divisible by 11. A number is divisible by 11 if the difference between the sum of its odd digits and the sum of its even digits is 0 or divisible by 11. When n is even the difference is always 0. - Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Jul 12 2008

EXAMPLE

For n=3 we have 10^3+21 = 1000+21 = 1021, which is prime.

MATHEMATICA

q=21; s=""; For[ a=q, a<=q, s="10^n+"<>ToString[ a ]<>":"; n=0; For[ i=1, i< 10^3, If[ PrimeQ[ 10^i+a ], n=1; s=s<>ToString[ i ]<>", " ]; i++ ]; If[ n>0, Print[ s ] ]; a++ ] - Vladimir Orlovsky, May 06 2008

CROSSREFS

Cf. A049054, A088274, A088275.

Sequence in context: A011755 A128301 A018307 this_sequence A009211 A105538 A056404

Adjacent sequences: A108047 A108048 A108049 this_sequence A108051 A108052 A108053

KEYWORD

hard,more,nonn

AUTHOR

Julien Peter Benney (jpbenney(AT)ftml.net), Jun 01 2005

EXTENSIONS

Corrected by Vladimir Orlovsky, May 06 2008

a(10)-a(13) from Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Jul 12 2008

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 September 6 00:03 EDT 2008. Contains 143485 sequences.


AT&T Labs Research