Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156299 Primes where the first digit is greater than any other digit. 2
31, 41, 43, 53, 61, 71, 73, 83, 97, 211, 311, 401, 421, 431, 433, 503, 521, 523, 541, 601, 613, 631, 641, 643, 653, 701, 733, 743, 751, 761, 811, 821, 823, 827, 853, 857, 863, 877, 907, 911, 937, 941, 947, 953, 967, 971, 977, 983 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Chris Caldwell, The first 1000 Primes
EXAMPLE
983 is a prime in which the first digit is greater than any other digit.
MATHEMATICA
fdgQ[n_]:=Module[{idn=IntegerDigits[n], f}, f=First[idn]; Max[idn]==f&&And@@ Table[f>i, {i, Rest[idn]}]]; Select[Prime[Range[5, 200]], fdgQ] (* Harvey P. Dale, Sep 18 2013 *)
CROSSREFS
Sequence in context: A109645 A156298 A099180 * A342216 A103490 A105320
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 07 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 17:05 EDT 2024. Contains 375269 sequences. (Running on oeis4.)