login
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
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