Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068839
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068839 Smallest prime that ends with the right concatenation of first n odd numbers. +0
1
11, 31, 1531, 67531, 1397531, 311197531, 16131197531, 2515131197531, 71715131197531, 33191715131197531, 7621191715131197531, 232321191715131197531, 7252321191715131197531 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(5) = 1397531 which contains as trailing digits the right concatenation of first 5 odd numbers 97531.

MATHEMATICA

a068839[n_] := Module[{}, a1=Flatten[Table[IntegerDigits[i], {i, n, 1, -2}]]; FromDigits[pref=1; a2=a1; While[ !PrimeQ[FromDigits[a2]], a2=Join[IntegerDigits[pref], a1]; pref+=1]; a2]]; Table[a068839[i], {i, 1, 33, 2}]

CROSSREFS

Cf. A068837, A068838.

Sequence in context: A111015 A143765 A023306 this_sequence A060857 A045982 A059134

Adjacent sequences: A068836 A068837 A068838 this_sequence A068840 A068841 A068842

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 10 2002

EXTENSIONS

More terms from Vit Planocka (planocka(AT)mistral.cz), Oct 18 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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research