cp's OEIS Frontend

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.

A236853 a(n) = Number of times n occurs in A234742.

This page as a plain text file.
%I A236853 #19 Apr 13 2014 12:40:22
%S A236853 1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,1,1,1,0,0,1,1,1,
%T A236853 0,0,1,1,1,1,0,1,1,0,1,0,0,1,1,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,1,0,1,1,
%U A236853 0,0,0,0,1,1,1,1,1,1,1,0,0,1,1,0,1,0,0,1,1,0,0,2,0,1,1,0,1,1,1,1,1,0,0,1,1,0,0,0,1,1,1,1,1,0,1,1,0,2,1,0,0
%N A236853 a(n) = Number of times n occurs in A234742.
%C A236853 First positions where the numbers n=2..10 occur are at: 91, 351, 1001, 3159, 7007, 15561, 24453, 60021, 63063. These factor in Z as: 7*13, 3*3*3*13, 7*11*13, 3*3*3*3*3*13, 7*7*11*13, 3*3*7*13*19, 3*3*11*13*19, 3*3*3*3*3*13*19, 3*3*7*7*11*13.
%C A236853 Cf. also A236845.
%H A236853 Antti Karttunen, <a href="/A236853/b236853.txt">Table of n, a(n) for n = 0..8192</a>
%F A236853 a(n) should have a direct formula computable from the prime factorization of n. See the example section, and comments in A236842 and formula/program code in A236862.
%e A236853 For 3, which is prime in Z, but also irreducible in GF(2)[X] (i.e., it is one of the primes in A091206), we have k = 3 as only solution for A234732(k) = 3, thus a(3)=1.
%e A236853 For 5, which is prime in Z, but factors as 3 X 3 in GF(2)[X] (i.e., it is one of the primes in A091209), there cannot be any k such that A234742(k) = 5, thus a(5)=0.
%e A236853 For 91 = 7*13, both 7 and 13 are irreducible in GF(2)[X], but also the product 91 is (i.e., a term of A014580), this means that both k = 7 X 13 = 35 and k = 91 give such k that A234742(k) = 91, thus a(91)=2.
%e A236853 For 351 = 3*3*3*13, the following subsets of divisors from combinations for which the product of divisors = n, are such that every divisor is a term of A014580: (3*3*3*13), (3*117) and (351), and thus we have 3X3X3X13 = 75, 3X117 = 159 and 351 = 351 (itself in A014580), three different k such that A234741(k) = 351, so a(351) = 3.
%e A236853 (In contrast, the combinations like 9*39 (9X39 = 287) or 13*27 (13X27 = 175) result different A234741(175) = 119 and A234741(287) = 223 values than 351 because neither 9, 39 or 27 are in A014580).
%e A236853 For 1001, which factors as 7*11*13, the following subsets of divisors are such that the product of divisors = n and that every divisor is a term of A014580: (7,11,13), (11,(7*13)), (7,(11*13)), (7*11*13), and when these are multiplied with the carryless multiplication (A048720), we get 7 X 11 X 13 = 381, 11 X 91 = 565, 7 X 143 = 941 and 1001 = 1001, the four different k: 381, 565, 941 and 1001 such that A234742(k) = 1001. Thus a(1001) = 4.
%o A236853 (Scheme, with memoizing definec-macro from _Antti Karttunen_'s IntSeq-library)
%o A236853 ;; Note that A234742(n) >= n which helps us here. Quadratic, but gives correct results. Macro definec memoizes the computed values for further consumption:
%o A236853 (definec (A236853 n) (if (zero? n) 1 (let loop ((k n) (ntimes 0)) (cond ((zero? k) ntimes) ((= (A234742 k) n) (loop (- k 1) (+ ntimes 1))) (else (loop (- k 1) ntimes))))))
%Y A236853 A236844 gives the positions of zeros, A236845 the positions of terms larger than one, A236842 the positions of nonzero terms.
%Y A236853 Cf. A236862, A236833.
%K A236853 nonn
%O A236853 0,92
%A A236853 _Antti Karttunen_, Jan 31 2014