OFFSET
1,3
COMMENTS
Also: Numbers with an odd number of digits, using only digits 0 through 3.
(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.)
PROG
(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", ")))}
(PARI) is_A212556(n)==(#n=Str(n))%2 & !setminus(Set(Vec(n)), Vec("0123"))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, May 20 2012
STATUS
approved