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!)
A156666 Primes where the last digit is greater than any other digit. 2
13, 17, 19, 23, 29, 37, 47, 59, 67, 79, 89, 103, 107, 109, 113, 127, 137, 139, 149, 157, 167, 179, 223, 227, 229, 239, 257, 269, 307, 317, 337, 347, 349, 359, 367, 379, 389, 409, 419, 439, 449, 457, 467, 479 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Chris Caldwell, The First 1,000 Primes
FORMULA
a(n) >> n^k where k = log 10/log 9 = 1.04795.... - Charles R Greathouse IV, Feb 23 2017
EXAMPLE
479 is a prime in which the last digit is greater than any other digit.
PROG
(PARI) is(n)=n>9 && n%10 > vecmax(digits(n\10)) && isprime(n) \\ Charles R Greathouse IV, Feb 23 2017
CROSSREFS
Sequence in context: A040136 A049482 A099651 * A331487 A286042 A168447
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 12 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 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)