Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068174
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068174 Define an increasing sequence as follows. Start with an initial term, the seed (which need not have the property of the sequence); subsequent terms are obtained by inserting/placing at least one digit in the previous term to obtain the smallest number with the given property. Here the property is be a prime. +0
1
9, 19, 109, 1009, 10009, 100019, 1000159, 10001569, 100001569, 1000015069, 10000135069, 100001350649, 1000013500649, 10000130500649, 100001303500649, 1000013032500649, 10000103032500649, 100001030325003649 (list; graph; listen)
OFFSET

1,1

EXAMPLE

The primes obtained by inserting/placing a digit in a(2) = 19 are 109, 139, 149, 179, 199 etc. and a(3)= 109 is the smallest.

MATHEMATICA

f[n_] := Block[{b = PadLeft[ IntegerDigits[n], Floor[ Log[10, n] + 1]], k = 0}, While[ !PrimeQ[ FromDigits[ Insert[b, k, -2]]], k++ ]; FromDigits[ Insert[b, k, -2]]]; NestList[ f, 9, 18]

CROSSREFS

Cf. A068166, A068167, A068169, A068170, A068171, A068172, A068173.

Sequence in context: A041158 A000981 A060227 this_sequence A041677 A041160 A089565

Adjacent sequences: A068171 A068172 A068173 this_sequence A068175 A068176 A068177

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 25 2002

EXTENSIONS

Edited by njas and Robert G. Wilson v (rgwv(AT)rgwv.com), May 08 2002

Corrected and extended by Robert Gerbicz (gerbicz(AT)freemail.hu), Sep 06 2002

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 August 8 15:51 EDT 2008. Contains 142751 sequences.


AT&T Labs Research