Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088603
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088603 a(n) = smallest prime in which n substrings containing the most significant digit are primes. +0
3
2, 23, 233, 2333, 23333, 233993, 2339933, 23399339, 1979339333, 23339531339, 293999994791, 3733799959397, 233323747999733, 2333939994739931, 23833939369399333, 238339393693993337, 23833939369399333613 (list; graph; listen)
OFFSET

1,1

COMMENT

Agrees with A127889 for 8 terms, but A127889 ends there while this sequence continues. - Ray Chandler (rayjchandler(AT)sbcglobal.net), Mar 13 2007

PROGRAM

(PARI) f(n, d, spare) = local(p, r); if (!d, return(n)); for (i = 0, 9, p = 10*n + i; if (isprime(p) || spare, r = f(p, d - 1, spare - 1 + isprime(p))); if (r, return(r))); 0; a(n) = local(i, r); i = 0; while (1, r = f(0, n + i, i); if (r, return(r), i++)); (Wasserman)

CROSSREFS

Cf. A088604, A127889.

Sequence in context: A100893 A065122 A127889 this_sequence A048549 A089703 A088094

Adjacent sequences: A088600 A088601 A088602 this_sequence A088604 A088605 A088606

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Oct 15 2003

EXTENSIONS

Corrected and extended by David Wasserman (wasserma(AT)spawar.navy.mil), Aug 12 2005

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research