Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118782
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118782 Numbers n such that closest primes surrounding 10^n have the same last digit. +0
1
6, 9, 12, 19, 20, 23, 28, 31, 32, 33, 39, 59, 62, 66, 67, 75, 79, 80, 83, 84, 85, 91, 98, 99, 107, 108, 109, 117, 121, 144, 147, 149, 150, 153, 155, 156, 159, 160, 167, 169, 178, 179, 184, 186, 187, 191, 195, 208, 210, 212, 220, 222, 226, 227, 229, 231, 242, 246 (list; graph; listen)
OFFSET

1,1

COMMENT

Do these numbers continue to infinity?

EXAMPLE

999983 and 1000003 are the closest primes surrounding 10^6. they both have the

same last digit so 6 is in the table.

PROGRAM

(PARI) g(n) = for(j=1, n, x=precprime(10^j); y=nextprime(10^j); if(x%10==y%10, print1(j", ")))

CROSSREFS

Sequence in context: A114554 A023386 A036999 this_sequence A106218 A118521 A095213

Adjacent sequences: A118779 A118780 A118781 this_sequence A118783 A118784 A118785

KEYWORD

easy,nonn,base,less

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 22 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 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research