The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A212556 Representations of nonnegative integers in base -4: The range of A007608. 1

%I #6 May 21 2012 17:02:34

%S 0,1,2,3,100,101,102,103,110,111,112,113,120,121,122,123,130,131,132,

%T 133,200,201,202,203,210,211,212,213,220,221,222,223,230,231,232,233,

%U 300,301,302,303,310,311,312,313,320,321,322,323,330,331,332,333,10000

%N Representations of nonnegative integers in base -4: The range of A007608.

%C Also: Numbers with an odd number of digits, using only digits 0 through 3.

%C (These numbers (or strings of digits) represent nonnegative integers in base -4, while the same type of numbers with an even number of digits represent negative numbers. See references in A007608 for more information.)

%o (PARI) {forstep(d=1,3,2, my(u=vector(d,i,10^(d-i))~); forvec(v=vector(d,i,[i==1 & d>1,3]),print1(v*u",")))}

%o (PARI) is_A212556(n)==(#n=Str(n))%2 & !setminus(Set(Vec(n)),Vec("0123"))

%Y The same as A007608 sorted in increasing order.

%K nonn,base

%O 1,3

%A _M. F. Hasler_, May 20 2012

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 June 1 08:45 EDT 2024. Contains 373015 sequences. (Running on oeis4.)