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 A293900 #17 Oct 23 2017 20:08:42 %S A293900 0,1,1,1,1,2,1,1,1,2,1,9,1,2,2,1,1,9,1,9,2,2,1,40,1,2,1,9,1,348,1,1,2, %T A293900 2,2,110,1,2,2,40,1,348,1,9,9,2,1,175,1,9,2,9,1,40,2,40,2,2,1,138660, %U A293900 1,2,9,1,2,348,1,9,2,348,1,1127,1,2,9,9,2,348,1,175,1,2,1,138660,2,2,2,40,1,138660,2,9,2,2,2,756,1,9,9,110 %N A293900 Number of permutations of the divisors of n that are greater than 1, in which consecutive elements are not coprime and no divisor d may occur later than any divisor e if e < d and A007947(e) = A007947(d). That is, any subset of divisors sharing the same squarefree part occur always in ascending order inside the permutation. %C A293900 This is a more restricted variant of A163820, inspired by _David A. Corneth_'s suggestion (personal e-mail) for optimizing its computation. %H A293900 Antti Karttunen, <a href="/A293900/b293900.txt">Table of n, a(n) for n = 1..179</a> (based on b-file of A163820 provided by David A. Corneth) %H A293900 Antti Karttunen, <a href="/A293900/a293900_1.txt">Scheme-program for computing this sequence</a> %H A293900 <a href="/index/Eu#epf">Index entries for sequences computed from exponents in factorization of n</a> %F A293900 Iff n = p^k for some prime p and k >= 1 [that is, n is a term of A000961 > 1], then a(n) = 1. %F A293900 a(n) = A163820(n)/A293902(n). %e A293900 The proper divisors of 12 are 2, 3, 4, 6, 12. a(12) = 9 because we can find nine permutations of them such that consecutive elements d and e are not coprime (that is, gcd(d,e) > 1) and where no divisor d is ever followed by divisor e such that A007947(d) = A007947(e) and e < d. These nine allowed permutations are (note that 2 must become before 4 and 6 must become before 12): %e A293900 [2, 4, 6, 3, 12], %e A293900 [2, 4, 6, 12, 3], %e A293900 [2, 6, 3, 12, 4], %e A293900 [2, 6, 4, 12, 3], %e A293900 [3, 6, 2, 4, 12], %e A293900 [3, 6, 2, 12, 4], %e A293900 [3, 6, 12, 2, 4], %e A293900 [6, 2, 4, 12, 3], %e A293900 [6, 3, 12, 2, 4]. %Y A293900 Cf. A000961 (positions of 0 and 1's), A163820, A293902. %Y A293900 Cf. also A114717, A119842. %K A293900 nonn %O A293900 1,6 %A A293900 _Antti Karttunen_, Oct 22 2017