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!)
A156298 Primes where the first digit is greater than the second digit. 1
31, 41, 43, 53, 61, 71, 73, 83, 97, 101, 103, 107, 109, 211, 307, 311, 313, 317, 401, 409, 419, 421, 431, 433, 439, 503, 509, 521, 523, 541, 547, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 809 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Chris Caldwell, "The first 1000 Primes"
EXAMPLE
439 is a prime in which the first digit is greater than the second digit.
MAPLE
a := proc (n) local nn: nn := convert(ithprime(n), base, 10): if nn[nops(nn)-1] < nn[nops(nn)] then ithprime(n) else end if end proc: seq(a(n), n = 5 .. 145); # Emeric Deutsch, Feb 28 2009
MATHEMATICA
Select[Prime[Range[5, 200]], IntegerDigits[#][[1]]>IntegerDigits[#][[2]]&] (* Harvey P. Dale, Jul 25 2021 *)
CROSSREFS
Cf. A000040.
Sequence in context: A043981 A146333 A109645 * A099180 A156299 A342216
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 07 2009
EXTENSIONS
More terms from Emeric Deutsch, Feb 28 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 April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)