login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154390 Composites with largest digit = prime. 0
12, 15, 20, 21, 22, 25, 27, 30, 32, 33, 35, 45, 50, 51, 52, 54, 55, 57, 70, 72, 74, 75, 76, 77, 102, 105, 112, 115, 117, 120, 121, 122, 123, 125, 130, 132, 133, 135, 145, 147, 150, 152, 153, 154, 155, 170, 171, 172, 174, 175, 176, 177, 200, 201, 202, 203, 205, 207 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

12 is in sequence because it is composite and its largest digit (2) is prime. 15 is in sequence because it is composite and its largest digit (5) is prime. 20 os in sequence because it is composite and its largest digit (2) is prime.

MAPLE

a := proc (n) local nn; nn := convert(n, base, 10): if isprime(n) = false and isprime(max(seq(nn[i], i = 1 .. nops(nn)))) = true then n else end if end proc: seq(a(n), n = 1 .. 220); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 27 2009]

CROSSREFS

Cf. A000040, A002808.

Sequence in context: A196224 A163657 A117815 * A156683 A050696 A144266

Adjacent sequences:  A154387 A154388 A154389 * A154391 A154392 A154393

KEYWORD

nonn,base

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jan 08 2009

EXTENSIONS

Corrected by Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jan 28 2009

Corrected (added 21) and extended by Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 27 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 18:01 EST 2012. Contains 206061 sequences.