login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes where the last digit is greater than any other digit.
2

%I #5 Apr 03 2023 10:36:11

%S 13,17,19,23,29,37,47,59,67,79,89,103,107,109,113,127,137,139,149,157,

%T 167,179,223,227,229,239,257,269,307,317,337,347,349,359,367,379,389,

%U 409,419,439,449,457,467,479

%N Primes where the last digit is greater than any other digit.

%H Charles R Greathouse IV, <a href="/A156666/b156666.txt">Table of n, a(n) for n = 1..10000</a>

%H Chris Caldwell, <a href="https://t5k.org/lists/small/1000.txt">The First 1,000 Primes</a>

%F a(n) >> n^k where k = log 10/log 9 = 1.04795.... - _Charles R Greathouse IV_, Feb 23 2017

%e 479 is a prime in which the last digit is greater than any other digit.

%o (PARI) is(n)=n>9 && n%10 > vecmax(digits(n\10)) && isprime(n) \\ _Charles R Greathouse IV_, Feb 23 2017

%Y Cf. A000040, A156299.

%K nonn,base

%O 1,1

%A _Parthasarathy Nambi_, Feb 12 2009