login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023726 Numbers with a single 1 in their base 5 expansion. 2
1, 5, 7, 8, 9, 11, 16, 21, 25, 27, 28, 29, 35, 37, 38, 39, 40, 42, 43, 44, 45, 47, 48, 49, 51, 55, 57, 58, 59, 61, 66, 71, 76, 80, 82, 83, 84, 86, 91, 96, 101, 105, 107, 108, 109, 111, 116, 121, 125, 127, 128, 129, 135, 137, 138, 139 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[ Range[ 150 ], (Count[ IntegerDigits[ #, 5 ], 1 ]==1)& ]
PROG
(PARI) is(n)=my(v=digits(n, 5)); sum(i=1, #v, v[i]==1)==1 \\ Charles R Greathouse IV, Mar 31 2014
CROSSREFS
Sequence in context: A031221 A137469 A043353 * A157724 A080644 A309277
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 19:26 EDT 2024. Contains 372176 sequences. (Running on oeis4.)