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 A335451 #7 Jun 22 2020 01:53:41 %S A335451 1,1,1,1,1,2,1,0,1,2,1,2,1,2,2,0,1,2,1,2,2,2,1,0,1,2,0,2,1,6,1,0,2,2, %T A335451 2,2,1,2,2,0,1,6,1,2,2,2,1,0,1,2,2,2,1,0,2,0,2,2,1,6,1,2,2,0,2,6,1,2, %U A335451 2,6,1,0,1,2,2,2,2,6,1,0,0,2,1,6,2,2,2 %N A335451 Number of permutations of the prime indices of n with all equal parts contiguous and none appearing more than twice. %C A335451 A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798. %H A335451 Wikipedia, <a href="https://en.wikipedia.org/wiki/Permutation_pattern">Permutation pattern</a> %F A335451 a(n) = A001221(n)! if n is cubefree, otherwise 0. %e A335451 The a(90) = 6 permutations are (1,2,2,3), (1,3,2,2), (2,2,1,3), (2,2,3,1), (3,1,2,2), (3,2,2,1). %t A335451 primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; %t A335451 Table[Length[Select[Permutations[primeMS[n]],!MatchQ[#,{___,x_,__,x_,___}]&]],{n,100}] %Y A335451 Separations are counted by A003242 and A335452 and ranked by A333489. %Y A335451 Permutations of prime indices are counted by A008480. %Y A335451 Unsorted prime signature is A124010. Sorted prime signature is A118914. %Y A335451 Permutations of prime indices with equal parts contiguous are A333175. %Y A335451 STC-numbers of permutations of prime indices are A333221. %Y A335451 (1,2,1) and (2,1,2)-avoiding permutations of prime indices are A333175. %Y A335451 Numbers whose prime indices are inseparable are A335448. %Y A335451 (1,2,1) or (2,1,2)-matching permutations of prime indices are A335460. %Y A335451 (1,2,1) and (2,1,2)-matching permutations of prime indices are A335462. %Y A335451 Strict permutations of prime indices are counted by A335489. %Y A335451 Cf. A056239, A056986, A112798, A181796, A335446, A335463. %K A335451 nonn %O A335451 1,6 %A A335451 _Gus Wiseman_, Jun 21 2020