The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A292342 Number of singletons in the integer partition having viabin number n. 1
 1, 0, 1, 0, 2, 0, 1, 0, 1, 1, 2, 0, 2, 0, 1, 0, 1, 0, 1, 1, 3, 1, 2, 0, 1, 1, 2, 0, 2, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 1, 2, 2, 3, 1, 3, 1, 2, 0, 1, 0, 1, 1, 3, 1, 2, 0, 1, 1, 2, 0, 2, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 1, 2, 0, 2, 0, 1, 1, 2, 1, 2, 2, 4, 2, 3, 1, 2, 2, 3, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,5 COMMENTS The viabin number of an integer partition is defined in the following way. Consider the southeast border of the Ferrers board of the integer partition and consider the binary number obtained by replacing each east step with 1 and each north step, except the last one, with 0. The corresponding decimal form is, by definition, the viabin number of the given integer partition. "Viabin" is coined from "via binary". For example, consider the integer partition [2,2,2,1]. The southeast border of its Ferrers board yields 10100, leading to the viabin number 20. LINKS FORMULA a(n) = A290260(2n). EXAMPLE a(37) = 2; indeed, the binary representation of 37 is 100101, leading to the integer partition [3',2',1,1] (the singletons are marked). MAPLE a := proc (n) local b: b := proc (n) if n = 1 then 0 elif `mod`(n, 2) = 0 and `mod`((1/2)*n, 2) = 1 then 1+b((1/2)*n) elif `mod`(n, 2) = 1 then b((1/2)*n-1/2) elif `mod`(n-4, 8) = 0 then b((1/2)*n)-1 else b((1/2)*n) end if end proc: b(2*n) end proc: seq(a(n), n = 1 .. 150); CROSSREFS Bisection of A290260. Sequence in context: A342656 A293896 A066416 * A091991 A108234 A324572 Adjacent sequences:  A292339 A292340 A292341 * A292343 A292344 A292345 KEYWORD nonn AUTHOR Emeric Deutsch, Sep 16 2017 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.

Last modified June 30 03:34 EDT 2022. Contains 354913 sequences. (Running on oeis4.)