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!)
A031466 Numbers whose base-4 representation has one fewer 0 than 3's. 1
3, 7, 11, 13, 14, 23, 27, 29, 30, 39, 43, 45, 46, 51, 53, 54, 57, 58, 60, 79, 87, 91, 93, 94, 103, 107, 109, 110, 115, 117, 118, 121, 122, 124, 143, 151, 155, 157, 158, 167, 171, 173, 174, 179, 181, 182, 185, 186, 188, 199, 203, 205 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers n such that A160383(n) - A160380(n) = 1. - Robert Israel, Jun 05 2018
LINKS
MAPLE
filter:= proc(n) local L;
L:= convert(n, base, 4);
numboccur(3, L) - numboccur(0, L)=1
end proc:
select(filter, [$1..300]); # Robert Israel, Jun 05 2018
MATHEMATICA
Select[Range[210], DigitCount[#, 4, 0]==DigitCount[#, 4, 3]-1&] (* Harvey P. Dale, Dec 16 2011 *)
CROSSREFS
Sequence in context: A096346 A104534 A062823 * A045062 A111068 A322430
KEYWORD
nonn,base
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 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)