Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107808
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107808 a(1)=prime(8), for n>=2 a(n) = smallest prime not previously used which contains a digit from a(n-1). +0
15
19, 11, 13, 3, 23, 2, 29, 59, 5, 53, 31, 17, 7, 37, 43, 41, 47, 67, 61, 71, 73, 79, 89, 83, 103, 101, 107, 97, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277 (list; graph; listen)
OFFSET

1,1

COMMENT

Other cases of seed: A107801 a(1)=2, A107802 a(1)=3, A107803 a(1)=5, A107804 a(1)=7, A107805 a(1)=11, A107806 a(1)=13, A107807 a(1)=17, A107809 a(1)=23, A107810 a(1)=29, A107811 a(1)=31, A107812 a(1)=37, A107813 a(1)=41, A107814 a(1)=43

MATHEMATICA

p=Prime[8]; b={p}; d=p; Do[Do[r=Prime[c]; If[FreeQ[b, r]&&Intersection@@IntegerDigits/@{d, r}=!={}, b=Append[b, r]; d=r; Break[]], {c, 1000}], {k, 60}]; b

CROSSREFS

Cf. A107353, A107801, A107802, A107803, A107804, A107805, A107806, A107807, A107809, A107810, A107811, A107812, A107813, A107814.

Sequence in context: A122549 A039942 A050276 this_sequence A083156 A040344 A089294

Adjacent sequences: A107805 A107806 A107807 this_sequence A107809 A107810 A107811

KEYWORD

base,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com) & Eric Angelini (eric.angelini(AT)kntv.be), May 24 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 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research