A160369 Largest base 10 near-repdigit (all but one digit alike) prime with digit n repeated n times (or 0, if no such prime exists).
71, 229, 7333, 44449, 555557, 0, 77777747, 888888887, 9999999929
Offset: 1
Examples
Near-repdigits with three 3s are 9333, 8333, 7333, 6333, ... 3933, 3833, etc. The largest of these, 9333, is obviously divisible by 3. Not as obviously, 8333 is divisible by 13 and 641. Then we see that 7333 is prime, therefore a(3) = 7333.
Extensions
Terms verified by Alonso del Arte, Nov 19 2009
Comments