Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157158
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A157158 Primes where the first digit is equal to the largest digit. +0
1
2, 3, 5, 7, 11, 31, 41, 43, 53, 61, 71, 73, 83, 97, 101, 211, 311, 313, 331, 401, 421, 431, 433, 443, 503, 521, 523, 541, 601, 613, 631, 641, 643, 653, 661, 701, 727, 733, 743, 751, 757, 761, 773, 811, 821, 823, 827, 853, 857, 863, 877, 881, 883, 887, 907, 911 (list; graph; listen)
OFFSET

1,1

EXAMPLE

2(2=2), 3(3=3), 5(5=5), 7(7=7), 31(3=3>1), 41(4=4>1), 43(4=4>3), etc.

MAPLE

a := proc (n) local nn, nnn: nn := convert(ithprime(n), base, 10): nnn := seq(nn[j], j = 1 .. nops(nn)): if nn[nops(nn)] = max(nnn) then ithprime(n) else end if end proc: seq(a(n), n = 1 .. 200); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 02 2009]

CROSSREFS

Cf. A000040.

Sequence in context: A028912 A075236 A155081 this_sequence A155833 A028867 A104154

Adjacent sequences: A157155 A157156 A157157 this_sequence A157159 A157160 A157161

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Feb 24 2009

EXTENSIONS

11, 313 etc. inserted by Emeric Deutsch (deutsch(AT)duke.poly.edu) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 26 2009

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 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research