A247701 Numbers whose digits are nondecreasing and which have exactly d digits "d" whenever there is at least one digit "d".
1, 22, 122, 333, 1333, 4444, 14444, 22333, 55555, 122333, 155555, 224444, 666666, 1224444, 1666666, 2255555, 3334444, 7777777, 12255555, 13334444, 17777777, 22666666, 33355555, 88888888, 122666666, 133355555, 188888888, 223334444, 227777777, 333666666, 999999999
Offset: 1
Links
- M. F. Hasler, Representing large digits, OEIS wiki, Oct 05 2014
Programs
-
PARI
a=[]; N=9; for(m=1,min(N,9), a=concat(a,n=10^m\9*m); for(i=1,#a-1, #Str(a[i])>N-m && break; a=concat(a,a[i]*10^m+n))); Set(a)
Comments