Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113574
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113574 Least number in which the r-th digit from the most significant side is prime if r is prime else it is composite, for r =1 the digit is 1. +0
1
1, 12, 122, 1224, 12242, 122424, 1224242, 12242424, 122424244, 1224242444, 12242424442, 122424244424, 1224242444242, 12242424442424, 122424244424244, 1224242444242444, 12242424442424442, 122424244424244424 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n+1) = a(n) concatenated with 2 if n+1 is prime, else a(n+1) = a(n) concatenated with 4.

CROSSREFS

Sequence in context: A134584 A090843 A132927 this_sequence A078189 A167208 A127422

Adjacent sequences: A113571 A113572 A113573 this_sequence A113575 A113576 A113577

KEYWORD

base,easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 06 2005

EXTENSIONS

Corrected and extended by Alvin H. Belt (AlvinBelt(AT)msn.com), Mar 24 2008

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 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research