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.

A323525 Number of ways to arrange the parts of a multiset whose multiplicities are the prime indices of n into a square matrix.

This page as a plain text file.
%I A323525 #8 Jan 17 2019 17:18:27
%S A323525 1,1,0,0,0,0,1,0,6,4,0,12,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,
%T A323525 0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,36,0,1,0,0,0,0,0,0,0,0,0,0,0,84,0,
%U A323525 0,72,0,0,0,0,0,0,0,0,126,252,0,0,0,0,0,0
%N A323525 Number of ways to arrange the parts of a multiset whose multiplicities are the prime indices of n into a square matrix.
%C A323525 This multiset (row n of A305936) is generally not the same as the multiset of prime indices of n. For example, the prime indices of 12 are {1,1,2}, while a multiset whose multiplicities are {1,1,2} is {1,1,2,3}.
%F A323525 If A056239(n) is a perfect square, a(n) = A318762(n). Otherwise, a(n) = 0.
%e A323525 The a(9) = 6 matrices:
%e A323525   [1 1] [1 2] [1 2] [2 1] [2 1] [2 2]
%e A323525   [2 2] [1 2] [2 1] [1 2] [2 1] [1 1]
%e A323525 The a(38) = 9 matrices:
%e A323525   [1 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 2] [1 2 1] [2 1 1]
%e A323525   [1 1 1] [1 1 1] [1 1 1] [1 1 2] [1 2 1] [2 1 1] [1 1 1] [1 1 1] [1 1 1]
%e A323525   [1 1 2] [1 2 1] [2 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 1] [1 1 1]
%t A323525 primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
%t A323525 nrmptn[n_]:=Join@@MapIndexed[Table[#2[[1]],{#1}]&,Reverse[primeMS[n]]];
%t A323525 Table[If[IntegerQ[Sqrt[Total[primeMS[n]]]],Length[Permutations[nrmptn[n]]],0],{n,100}]
%Y A323525 The positions of 0's are numbers whose sum of prime indices is not a perfect square (A323527).
%Y A323525 The positions of 1's are primes indexed by squares (A323526).
%Y A323525 Cf. A008480, A026478, A056239, A103198, A112798, A120732, A318284, A318762, A323519, A323528, A323531.
%K A323525 nonn
%O A323525 1,9
%A A323525 _Gus Wiseman_, Jan 17 2019