This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A194602 #116 Dec 09 2021 12:17:24 %S A194602 0,1,3,5,7,11,15,21,23,27,31,43,47,55,63,85,87,91,95,111,119,127,171, %T A194602 175,183,191,219,223,239,255,341,343,347,351,367,375,383,439,447,479, %U A194602 495,511,683,687,695,703,731,735,751,767,879,887,895,959,991,1023,1365,1367,1371,1375,1391 %N A194602 Integer partitions interpreted as binary numbers. %C A194602 The 2^(n-1) compositions of n correspond to binary numbers, and the partitions of n can be seen as compositions with addends ordered by size, so they also correspond to binary numbers. %C A194602 The finite sequence for partitions of n (ordered by size) is the beginning of the sequence for partitions of n+1, which leads to an infinite sequence. %C A194602 From _Tilman Piesk_, Jan 30 2016: (Start) %C A194602 It makes sense to regard the positive values as a triangle with row lengths A002865(n) and row numbers n>=2. In this triangle row n contains all partitions of n with non-one addends only. See link "Triangle with Young diagrams". %C A194602 This sequence contains all binary palindromes with m runs of n ones separated by single zeros. They are ordered in the array A249544. All the rows and columns of this array are subsequences of this sequence, notably its top row (A000225, the powers of two minus one). %C A194602 Sequences by _Omar E. Pol_: The "triangle" A210941 defines the same sequence of partitions. Its n-th row shows the non-one addends of the n-th partition. There are A194548(n) of them, and A141285(n) is the largest among them. (The "triangle" A210941 does not actually form a triangle, but A210941 and A141285 do.) Note that the offset of these sequences is 1 and not 0. %C A194602 (End) %C A194602 Numbers whose binary representation has runs of '1's of weakly increasing length (with trailing '0's (introducing a run of length 0) forbidden, i.e., only odd terms beyond 0). - _M. F. Hasler_, May 14 2020 %H A194602 Tilman Piesk, <a href="/A194602/b194602.txt">Table of n, a(n) for n = 0..8348</a> %H A194602 Tilman Piesk, <a href="/A194602/a194602.txt">Same table with binary strings and non-one addends</a> %H A194602 Tilman Piesk, <a href="http://paste.watchduck.net/1602/intpart/A194602_fat.html">Triangle with Young diagrams</a> (n = 2..20). %H A194602 Tilman Piesk, <a href="https://en.wikiversity.org/wiki/Integer_partitions">Integer partitions</a> and <a href="https://en.wikiversity.org/wiki/Permutations_and_partitions_in_the_OEIS">Permutations and partitions in the OEIS</a> %H A194602 Tilman Piesk, <a href="http://pastebin.com/78QNvRPr">Python functions</a>, keynum_to_valnum(n) = a(n), valnum_to_keynum(a(n)) = n. %H A194602 Li-yao Xia, <a href="/A194602/a194602_1.txt">Identities for A194602</a> %H A194602 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %F A194602 a( A000041(n)-1 ) = A000225(n-1) for n>=1. - _Tilman Piesk_, Apr 16 2012 %F A194602 a( A000041(2n-1) ) = A002450(n) for n>=1. - _Tilman Piesk_, Apr 16 2012 %F A194602 a( A249543 ) = A249544. - _Tilman Piesk_, Oct 31 2014 %F A194602 a(n) = A228354(1+n) - 1. - _Antti Karttunen_, Dec 06 2021 %e A194602 From _Joerg Arndt_, Nov 17 2012: (Start) %e A194602 With leading zeros included, the first A000041(n) terms correspond to the list of partitions of n as nondecreasing compositions in lexicographic order. %e A194602 For example, the first A000041(10)=42 terms correspond to the partitions of 10 as follows (dots for zeros in the binary expansions): %e A194602 [ n] binary(a(n)) a(n) partition %e A194602 [ 0] .......... 0 [ 1 1 1 1 1 1 1 1 1 1 ] %e A194602 [ 1] .........1 1 [ 1 1 1 1 1 1 1 1 2 ] %e A194602 [ 2] ........11 3 [ 1 1 1 1 1 1 1 3 ] %e A194602 [ 3] .......1.1 5 [ 1 1 1 1 1 1 2 2 ] %e A194602 [ 4] .......111 7 [ 1 1 1 1 1 1 4 ] %e A194602 [ 5] ......1.11 11 [ 1 1 1 1 1 2 3 ] %e A194602 [ 6] ......1111 15 [ 1 1 1 1 1 5 ] %e A194602 [ 7] .....1.1.1 21 [ 1 1 1 1 2 2 2 ] %e A194602 [ 8] .....1.111 23 [ 1 1 1 1 2 4 ] %e A194602 [ 9] .....11.11 27 [ 1 1 1 1 3 3 ] %e A194602 [10] .....11111 31 [ 1 1 1 1 6 ] %e A194602 [11] ....1.1.11 43 [ 1 1 1 2 2 3 ] %e A194602 [12] ....1.1111 47 [ 1 1 1 2 5 ] %e A194602 [13] ....11.111 55 [ 1 1 1 3 4 ] %e A194602 [14] ....111111 63 [ 1 1 1 7 ] %e A194602 [15] ...1.1.1.1 85 [ 1 1 2 2 2 2 ] %e A194602 [16] ...1.1.111 87 [ 1 1 2 2 4 ] %e A194602 [17] ...1.11.11 91 [ 1 1 2 3 3 ] %e A194602 [18] ...1.11111 95 [ 1 1 2 6 ] %e A194602 [19] ...11.1111 111 [ 1 1 3 5 ] %e A194602 [20] ...111.111 119 [ 1 1 4 4 ] %e A194602 [21] ...1111111 127 [ 1 1 8 ] %e A194602 [22] ..1.1.1.11 171 [ 1 2 2 2 3 ] %e A194602 [23] ..1.1.1111 175 [ 1 2 2 5 ] %e A194602 [24] ..1.11.111 183 [ 1 2 3 4 ] %e A194602 [25] ..1.111111 191 [ 1 2 7 ] %e A194602 [26] ..11.11.11 219 [ 1 3 3 3 ] %e A194602 [27] ..11.11111 223 [ 1 3 6 ] %e A194602 [28] ..111.1111 239 [ 1 4 5 ] %e A194602 [29] ..11111111 255 [ 1 9 ] %e A194602 [30] .1.1.1.1.1 341 [ 2 2 2 2 2 ] %e A194602 [31] .1.1.1.111 343 [ 2 2 2 4 ] %e A194602 [32] .1.1.11.11 347 [ 2 2 3 3 ] %e A194602 [33] .1.1.11111 351 [ 2 2 6 ] %e A194602 [34] .1.11.1111 367 [ 2 3 5 ] %e A194602 [35] .1.111.111 375 [ 2 4 4 ] %e A194602 [36] .1.1111111 383 [ 2 8 ] %e A194602 [37] .11.11.111 439 [ 3 3 4 ] %e A194602 [38] .11.111111 447 [ 3 7 ] %e A194602 [39] .111.11111 479 [ 4 6 ] %e A194602 [40] .1111.1111 495 [ 5 5 ] %e A194602 [41] .111111111 511 [ 10 ] %e A194602 (End) %t A194602 lim = 12; %t A194602 Sort[FromDigits[Reverse@ #, 2] & /@ %t A194602 Map[If[Length@ # == 0, {0}, Flatten@ Most@ #] &@ %t A194602 Riffle[#, Table[0, Length@ #]] &, %t A194602 Map[Table[1, # - 1] &, %t A194602 Sort@ IntegerPartitions@ lim /. 1 -> Nothing, {2}]]] %t A194602 (* _Michael De Vlieger_, Feb 14 2016 *) %o A194602 (PARI) isA194602(n) = if(!n,1,if(!(n%2),0,my(prl=0,rl=0); while(n, if(0==(n%2),if((prl && rl>prl)||0==(n%4), return(0)); prl=rl; rl=0, rl++); n >>= 1); ((0==prl)||(rl<=prl)))); \\ - _Antti Karttunen_, Dec 06 2021 %Y A194602 Cf. A000041 (partition numbers). %Y A194602 Cf. A002865 (row lengths). %Y A194602 Cf. A002450, A000225 (subsequences). %Y A194602 Cf. A249544 (rows and columns are subsequences). %Y A194602 Cf. A210941, A194548, A141285, A228354, A326956. %K A194602 nonn,tabf %O A194602 0,3 %A A194602 _Tilman Piesk_, Aug 30 2011 %E A194602 Comments edited by _Li-yao Xia_, May 13 2014 %E A194602 Incorrect PARI-program removed by _Antti Karttunen_, Dec 09 2021