[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A323867 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Number of aperiodic arrays of positive integers summing to n.
(history; published version)
#9 by Alois P. Heinz at Thu Aug 22 23:11:14 EDT 2019
STATUS

proposed

approved

#8 by Andrew Howroyd at Thu Aug 22 22:16:27 EDT 2019
STATUS

editing

proposed

#7 by Andrew Howroyd at Thu Aug 22 00:03:43 EDT 2019
LINKS

Andrew Howroyd, <a href="/A323867/b323867.txt">Table of n, a(n) for n = 0..200</a>

#6 by Andrew Howroyd at Wed Aug 21 22:40:08 EDT 2019
PROG

(GAP) List([0..30], A323867); # See A323861 for code; Andrew Howroyd, Aug 21 2019

#5 by Andrew Howroyd at Wed Aug 21 22:30:43 EDT 2019
DATA

1, 1, 1, 5, 11, 33, 57, 157, 303, 683, 1358, 2974, 5932, 12560, 25328, 52400, 106256, 217875, 441278, 899955, 1822703, 3701401, 7491173, 15178253, 30691135, 62085846, 125435689, 253414326, 511547323, 1032427635, 2082551931, 4199956099, 8466869525, 17064777665

KEYWORD

nonn,more

nonn

EXTENSIONS

Terms a(16) and beyond from Andrew Howroyd, Aug 21 2019

STATUS

approved

editing

#4 by Susanna Cuyler at Tue Feb 05 09:43:50 EST 2019
STATUS

proposed

approved

#3 by Gus Wiseman at Mon Feb 04 18:30:52 EST 2019
STATUS

editing

proposed

#2 by Gus Wiseman at Mon Feb 04 16:38:15 EST 2019
NAME

allocated for Gus WisemanNumber of aperiodic arrays of positive integers summing to n.

DATA

1, 1, 1, 5, 11, 33, 57, 157, 303, 683, 1358, 2974, 5932, 12560, 25328, 52400

OFFSET

0,4

COMMENTS

The 1-dimensional case is A000740.

An n X k matrix is aperiodic if all n * k rotations of its sequence of rows and its sequence of columns are distinct.

EXAMPLE

The a(5) = 33 arrays:

5 14 23 32 41 113 122 131 212 221 311 1112 1121 1211 2111

.

1 2 3 4 11 11 12 21

4 3 2 1 12 21 11 11

.

1 1 1 2 2 3

1 2 3 1 2 1

3 2 1 2 1 1

.

1 1 1 2

1 1 2 1

1 2 1 1

2 1 1 1

MATHEMATICA

primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];

facs[n_]:=If[n<=1, {{}}, Join@@Table[Map[Prepend[#, d]&, Select[facs[n/d], Min@@#>=d&]], {d, Rest[Divisors[n]]}]];

ptnmats[n_]:=Union@@Permutations/@Select[Union@@(Tuples[Permutations/@#]&/@Map[primeMS, facs[n], {2}]), SameQ@@Length/@#&];

apermatQ[m_]:=UnsameQ@@Join@@Table[RotateLeft[m, {i, j}], {i, Length[m]}, {j, Length[First[m]]}];

Table[Length[Union@@Table[Select[ptnmats[k], apermatQ], {k, Times@@Prime/@#&/@IntegerPartitions[n]}]], {n, 15}]

KEYWORD

allocated

nonn,more

AUTHOR

Gus Wiseman, Feb 04 2019

STATUS

approved

editing

#1 by Gus Wiseman at Sun Feb 03 23:19:38 EST 2019
NAME

allocated for Gus Wiseman

KEYWORD

allocated

STATUS

approved