A069663 Smallest n-digit prime with minimum digit sum.
2, 11, 101, 1021, 10111, 100003, 1000003, 10010101, 101001001, 1000000021, 10000001101, 100000000003, 1000000020001, 10000000001011, 100000000100101, 1000000000100011, 10000000000001101, 100000000000000003
Offset: 1
Examples
a(5) = 10111 is the least prime with digit sum 4 and no other/smaller 5 digit prime has a digit sum 4 or less.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..100
Extensions
More terms from Sascha Kurz, Aug 25 2002
Edited by N. J. A. Sloane, May 05 2007