A156666 Primes where the last digit is greater than any other digit.
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
Examples
479 is a prime in which the last digit is greater than any other digit.
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
- Chris Caldwell, The First 1,000 Primes
Programs
-
PARI
is(n)=n>9 && n%10 > vecmax(digits(n\10)) && isprime(n) \\ Charles R Greathouse IV, Feb 23 2017
Formula
a(n) >> n^k where k = log 10/log 9 = 1.04795.... - Charles R Greathouse IV, Feb 23 2017