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!)
A023721 Numbers with no 0's in their base-5 expansion. 5

%I #16 Apr 30 2021 20:13:57

%S 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,22,23,24,31,32,33,34,36,

%T 37,38,39,41,42,43,44,46,47,48,49,56,57,58,59,61,62,63,64,66,67,68,69,

%U 71,72,73,74,81,82,83,84,86,87,88,89,91,92,93

%N Numbers with no 0's in their base-5 expansion.

%H Nathaniel Johnston, <a href="/A023721/b023721.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Ar#5-automatic">Index entries for 5-automatic sequences</a>.

%p seq(`if`(numboccur(0,convert(n,base,5))=0,n,NULL),n=1..127); # _Nathaniel Johnston_, Jun 27 2011

%t Select[ Range[ 120 ], (Count[ IntegerDigits[ #, 5 ], 0 ]==0)& ]

%o (PARI) is(n)=while(n, if(n%5==0, return(0)); n\=5); 1 \\ _Charles R Greathouse IV_, Feb 12 2017

%Y Cf. A020654, A023725, A023729, A023733.

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_

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 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)