proposed
approved
proposed
approved
editing
proposed
(PARI) is(n) = vp = vecmax(digits(n)); if(vp % 2 == 0, return(0)); vpp = vecmax(digits(primepi(n))); vp == vpp \\ David A. Corneth, Jan 22 2019
proposed
editing
editing
proposed
Primes p =prime(k) such that the largest odd digit of p equals k is odd and is equal to the largest odd digit of the p-th prime.
Name corrected by Jon E. Schoenfield, Jan 22 2019
proposed
editing
editing
proposed
A054055 := proc(n) max(op(convert(n, base, 10))) ; end: for n from 1 to 400 do ldn := A054055(n) ; if type(ldn, odd) then p := ithprime(n) ; ldp := A054055(p) ; if ldp = ldn then printf("%d, ", p) ; fi; fi; od: # R. J. Mathar, Feb 20 2009
A054055 := proc(n) max(op(convert(n, base, 10))) ; end:
for n from 1 to 400 do
ldn := A054055(n) ;
if type(ldn, odd) then
p := ithprime(n) ;
ldp := A054055(p) ;
if ldp = ldn then
printf("%d, ", p) ;
fi;
fi;
od: # R. J. Mathar, Feb 20 2009
Primes p such that the largest odd digit odd of p = equals the largest odd digit odd of the p-th prime.
proposed
editing
editing
proposed