login
A023727
Numbers with exactly 2 1's in their base 5 expansion.
2
6, 26, 30, 32, 33, 34, 36, 41, 46, 56, 81, 106, 126, 130, 132, 133, 134, 136, 141, 146, 150, 152, 153, 154, 160, 162, 163, 164, 165, 167, 168, 169, 170, 172, 173, 174, 176, 180, 182, 183, 184, 186, 191, 196, 201, 205, 207, 208
OFFSET
1,1
LINKS
MATHEMATICA
Select[ Range[ 225 ], (Count[ IntegerDigits[ #, 5 ], 1 ]==2)& ]
PROG
(PARI) is(n)=my(v=digits(n, 5)); sum(i=1, #v, v[i]==1)==2 \\ Charles R Greathouse IV, Mar 31 2014
CROSSREFS
Sequence in context: A239178 A154869 A043354 * A045255 A045240 A045225
KEYWORD
nonn,base,easy
STATUS
approved