# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a239114 Showing 1-1 of 1 %I A239114 #10 Mar 15 2014 05:29:25 %S A239114 1,1,4,1,1,2,1,2,3,1,1,2,3,1,6,1,1,2,1,1,1,3,2,1,5,2,1,4,2,1,3,1,2,1, %T A239114 1,1,3,1,4,1,2,1,2,5,1,1,1,2,4,1,3,1,2,1,2,1,2,1,4,1,1,3,1,2,1,1,3,2, %U A239114 1,2,1,3,1,1,8,2,1,1,2,1,2,3,1,5,1,2,3,1,2,1,4,1,1,2,6,1,2,1,3,1 %N A239114 Exponent of 2 in prime factorization (i.e., 2-adic valuation) of odd nonprimes A014076(n) + 1. %C A239114 Sequence is counterpart to A023512, i.e., merging these two sequences gives the ruler function A001511. %H A239114 K. G. Stier, Table of n, a(n) for n = 1..7739 %F A239114 a(n) = A001511((A014076(n)+1)/2) %e A239114 a(13) = 3, because the 13th odd nonprime is 55, and the largest power of 2 dividing 55+1 is 3. %o A239114 (PARI) lista(nn) = {forstep(n=1, nn, 2, if (! isprime(n), print1(valuation(n+1, 2), ", ")););} \\ _Michel Marcus_, Mar 13 2014 %Y A239114 Cf. A023512, A001511, A014076. %K A239114 nonn %O A239114 1,3 %A A239114 _K. G. Stier_, Mar 10 2014 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE