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!)
A023725 Numbers with no 1's in their base-5 expansion. 6
0, 2, 3, 4, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 24, 50, 52, 53, 54, 60, 62, 63, 64, 65, 67, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 85, 87, 88, 89, 90, 92, 93, 94, 95, 97, 98, 99, 100, 102, 103, 104, 110, 112, 113, 114, 115, 117, 118, 119, 120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
seq(`if`(numboccur(1, convert(n, base, 5))=0, n, NULL), n=0..127); # Nathaniel Johnston, Jun 27 2011
MATHEMATICA
Select[ Range[ 0, 125 ], (Count[ IntegerDigits[ #, 5 ], 1 ]==0)& ]
PROG
(PARI) is(n)=while(n>1, if(n%5==1, return(0)); n\=5); 1 \\ Charles R Greathouse IV, Feb 12 2017
CROSSREFS
Sequence in context: A082866 A085701 A051627 * A250051 A076079 A229593
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 April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)