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.

Showing 1-10 of 23 results. Next

A007283 a(n) = 3*2^n.

Original entry on oeis.org

3, 6, 12, 24, 48, 96, 192, 384, 768, 1536, 3072, 6144, 12288, 24576, 49152, 98304, 196608, 393216, 786432, 1572864, 3145728, 6291456, 12582912, 25165824, 50331648, 100663296, 201326592, 402653184, 805306368, 1610612736, 3221225472, 6442450944, 12884901888
Offset: 0

Views

Author

Keywords

Comments

Same as Pisot sequences E(3, 6), L(3, 6), P(3, 6), T(3, 6). See A008776 for definitions of Pisot sequences.
Numbers k such that A006530(A000010(k)) = A000010(A006530(k)) = 2. - Labos Elemer, May 07 2002
Also least number m such that 2^n is the smallest proper divisor of m which is also a suffix of m in binary representation, see A080940. - Reinhard Zumkeller, Feb 25 2003
Length of the period of the sequence Fibonacci(k) (mod 2^(n+1)). - Benoit Cloitre, Mar 12 2003
The sequence of first differences is this sequence itself. - Alexandre Wajnberg and Eric Angelini, Sep 07 2005
Subsequence of A122132. - Reinhard Zumkeller, Aug 21 2006
Apart from the first term, a subsequence of A124509. - Reinhard Zumkeller, Nov 04 2006
Total number of Latin n-dimensional hypercubes (Latin polyhedra) of order 3. - Kenji Ohkuma (k-ookuma(AT)ipa.go.jp), Jan 10 2007
Number of different ternary hypercubes of dimension n. - Edwin Soedarmadji (edwin(AT)systems.caltech.edu), Dec 10 2005
For n >= 1, a(n) is equal to the number of functions f:{1, 2, ..., n + 1} -> {1, 2, 3} such that for fixed, different x_1, x_2,...,x_n in {1, 2, ..., n + 1} and fixed y_1, y_2,...,y_n in {1, 2, 3} we have f(x_i) <> y_i, (i = 1,2,...,n). - Milan Janjic, May 10 2007
a(n) written in base 2: 11, 110, 11000, 110000, ..., i.e.: 2 times 1, n times 0 (see A003953). - Jaroslav Krizek, Aug 17 2009
Subsequence of A051916. - Reinhard Zumkeller, Mar 20 2010
Numbers containing the number 3 in their Collatz trajectories. - Reinhard Zumkeller, Feb 20 2012
a(n-1) gives the number of ternary numbers with n digits with no two adjacent digits in common; e.g., for n=3 we have 010, 012, 020, 021, 101, 102, 120, 121, 201, 202, 210 and 212. - Jon Perry, Oct 10 2012
If n > 1, then a(n) is a solution for the equation sigma(x) + phi(x) = 3x-4. This equation also has solutions 84, 3348, 1450092, ... which are not of the form 3*2^n. - Farideh Firoozbakht, Nov 30 2013
a(n) is the upper bound for the "X-ray number" of any convex body in E^(n + 2), conjectured by Bezdek and Zamfirescu, and proved in the plane E^2 (see the paper by Bezdek and Zamfirescu). - L. Edson Jeffery, Jan 11 2014
If T is a topology on a set V of size n and T is not the discrete topology, then T has at most 3 * 2^(n-2) many open sets. See Brown and Stephen references. - Ross La Haye, Jan 19 2014
Comment from Charles Fefferman, courtesy of Doron Zeilberger, Dec 02 2014: (Start)
Fix a dimension n. For a real-valued function f defined on a finite set E in R^n, let Norm(f, E) denote the inf of the C^2 norms of all functions F on R^n that agree with f on E. Then there exist constants k and C depending only on the dimension n such that Norm(f, E) <= C*max{ Norm(f, S) }, where the max is taken over all k-point subsets S in E. Moreover, the best possible k is 3 * 2^(n-1).
The analogous result, with the same k, holds when the C^2 norm is replaced, e.g., by the C^1, alpha norm (0 < alpha <= 1). However, the optimal analogous k, e.g., for the C^3 norm is unknown.
For the above results, see Y. Brudnyi and P. Shvartsman (1994). (End)
Also, coordination sequence for (infinity, infinity, infinity) tiling of hyperbolic plane. - N. J. A. Sloane, Dec 29 2015
The average of consecutive powers of 2 beginning with 2^1. - Melvin Peralta and Miriam Ong Ante, May 14 2016
For n > 1, a(n) is the smallest Zumkeller number with n divisors that are also Zumkeller numbers (A083207). - Ivan N. Ianakiev, Dec 09 2016
Also, for n >= 2, the number of length-n strings over the alphabet {0,1,2,3} having only the single letters as nonempty palindromic subwords. (Corollary 21 in Fleischer and Shallit) - Jeffrey Shallit, Dec 02 2019
Also, a(n) is the minimum link-length of any covering trail, circuit, path, and cycle for the set of the 2^(n+2) vertices of an (n+2)-dimensional hypercube. - Marco Ripà, Aug 22 2022
The known fixed points of maps n -> A163511(n) and n -> A243071(n). [See comments in A163511]. - Antti Karttunen, Sep 06 2023
The finite subsequence a(3), a(4), a(5), a(6) = 24, 48, 96, 192 is one of only two geometric sequences that can be formed with all interior angles (all integer, in degrees) of a simple polygon. The other sequence is a subsequence of A000244 (see comment there). - Felix Huber, Feb 15 2024
A level 1 Sierpiński triangle is a triangle. Level n+1 is formed from three copies of level n by identifying pairs of corner vertices of each pair of triangles. For n>2, a(n-3) is the radius of the level n Sierpiński triangle graph. - Allan Bickle, Aug 03 2024

References

  • Jason I. Brown, Discrete Structures and Their Interactions, CRC Press, 2013, p. 71.
  • T. Ito, Method, equipment, program and storage media for producing tables, Publication number JP2004-272104A, Japan Patent Office (written in Japanese, a(2)=12, a(3)=24, a(4)=48, a(5)=96, a(6)=192, a(7)=384 (a(7)=284 was corrected)).
  • Kenji Ohkuma, Atsuhiro Yamagishi and Toru Ito, Cryptography Research Group Technical report, IT Security Center, Information-Technology Promotion Agency, JAPAN.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Subsequence of the following sequences: A029744, A029747, A029748, A029750, A362804 (after 3), A364494, A364496, A364289, A364291, A364292, A364295, A364497, A364964, A365422.
Essentially same as A003945 and A042950.
Row sums of (5, 1)-Pascal triangle A093562 and of (1, 5) Pascal triangle A096940.
Cf. Latin squares: A000315, A002860, A003090, A040082, A003191; Latin cubes: A098843, A098846, A098679, A099321.

Programs

Formula

G.f.: 3/(1-2*x).
a(n) = 2*a(n - 1), n > 0; a(0) = 3.
a(n) = Sum_{k = 0..n} (-1)^(k reduced (mod 3))*binomial(n, k). - Benoit Cloitre, Aug 20 2002
a(n) = A118416(n + 1, 2) for n > 1. - Reinhard Zumkeller, Apr 27 2006
a(n) = A000079(n) + A000079(n + 1). - Zerinvary Lajos, May 12 2007
a(n) = A000079(n)*3. - Omar E. Pol, Dec 16 2008
From Paul Curtz, Feb 05 2009: (Start)
a(n) = b(n) + b(n+3) for b = A001045, A078008, A154879.
a(n) = abs(b(n) - b(n+3)) with b(n) = (-1)^n*A084247(n). (End)
a(n) = 2^n + 2^(n + 1). - Jaroslav Krizek, Aug 17 2009
a(n) = A173786(n + 1, n) = A173787(n + 2, n). - Reinhard Zumkeller, Feb 28 2010
A216022(a(n)) = 6 and A216059(a(n)) = 7, for n > 0. - Reinhard Zumkeller, Sep 01 2012
a(n) = (A000225(n) + 1)*3. - Martin Ettl, Nov 11 2012
E.g.f.: 3*exp(2*x). - Ilya Gutkovskiy, May 15 2016
A020651(a(n)) = 2. - Yosu Yurramendi, Jun 01 2016
a(n) = sqrt(A014551(n + 1)*A014551(n + 2) + A014551(n)^2). - Ezhilarasu Velayutham, Sep 01 2019
a(A048672(n)) = A225546(A133466(n)). - Michel Marcus and Peter Munn, Nov 29 2019
Sum_{n>=1} 1/a(n) = 2/3. - Amiram Eldar, Oct 28 2020

A002860 Number of Latin squares of order n; or labeled quasigroups.

Original entry on oeis.org

1, 2, 12, 576, 161280, 812851200, 61479419904000, 108776032459082956800, 5524751496156892842531225600, 9982437658213039871725064756920320000, 776966836171770144107444346734230682311065600000
Offset: 1

Views

Author

Keywords

Comments

Also the number of minimum vertex colorings in the n X n rook graph. - Eric W. Weisstein, Mar 02 2024

References

  • David Nacin, "Puzzles, Parity Maps, and Plenty of Solutions", Chapter 15, The Mathematics of Various Entertaining Subjects: Volume 3 (2019), Jennifer Beineke & Jason Rosenhouse, eds. Princeton University Press, Princeton and Oxford, p. 245.
  • Clifford A. Pickover, The Math Book, From Pythagoras to the 57th Dimension, 250 Milestones in the History of Mathematics, Sterling Publ., NY, 2009.
  • J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 210.
  • H. J. Ryser, Combinatorial Mathematics. Mathematical Association of America, Carus Mathematical Monograph 14, 1963, p. 53.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A098679 (Latin cubes).
A row of the array in A249026.

Programs

  • Mathematica
    Table[Length[ResourceFunction["FindProperColorings"][GraphProduct[CompleteGraph[n], CompleteGraph[n], "Cartesian"], n]], {n, 5}]

Formula

a(n) = n!*A000479(n) = n!*(n-1)!*A000315(n).

Extensions

One more term (from the McKay-Wanless article) from Richard Bean, Feb 17 2004

A040082 Number of inequivalent Latin squares (or isotopy classes of Latin squares) of order n.

Original entry on oeis.org

1, 1, 1, 2, 2, 22, 564, 1676267, 115618721533, 208904371354363006, 12216177315369229261482540
Offset: 1

Views

Author

Keywords

Comments

Here "isotopy class" means an equivalence class of Latin squares under the operations of row permutation, column permutation and symbol permutation. [Brendan McKay]

References

  • R. A. Fisher and F. Yates, Statistical Tables for Biological, Agricultural and Medical Research. 6th ed., Hafner, NY, 1963, p. 22.
  • J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 210.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A002860, A003090, A000315. See A000528 for another version.

Extensions

7 X 7 and 8 X 8 results confirmed by Brendan McKay
Beware: erroneous versions of this sequence can be found in the literature!
a(9)-a(10) (from the McKay-Meynert-Myrvold article) from Richard Bean, Feb 17 2004
a(11) from Petteri Kaski (petteri.kaski(AT)cs.helsinki.fi), Sep 18 2009

A003090 Number of species (or "main classes" or "paratopy classes") of Latin squares of order n.

Original entry on oeis.org

1, 1, 1, 2, 2, 12, 147, 283657, 19270853541, 34817397894749939, 2036029552582883134196099
Offset: 1

Views

Author

Keywords

References

  • F. Harary and E. M. Palmer, Graphical Enumeration, Academic Press, NY, 1973, p. 231.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Extensions

a(9)-a(10) (from the McKay-Meynert-Myrvold article) from Richard Bean, Feb 17 2004
a(11) from Petteri Kaski (petteri.kaski(AT)cs.helsinki.fi), Sep 18 2009

A057771 Number of loops (quasigroups with an identity element) of order n.

Original entry on oeis.org

0, 1, 1, 1, 2, 6, 109, 23746, 106228849, 9365022303540, 20890436195945769617, 1478157455158044452849321016
Offset: 0

Views

Author

Christian G. Bower, Nov 01 2000

Keywords

Crossrefs

Extensions

a(8) from Juergen Buntrock (jubu(AT)jubu.com), Nov 03 2003.
a(9)-a(10) (from the McKay-Meynert-Myrvold article) from Richard Bean, Feb 17 2004
a(11) from Petteri Kaski (petteri.kaski(AT)cs.helsinki.fi), Sep 18 2009
a(0) prepended by Jianing Song, Oct 26 2019

A274171 Number of diagonal Latin squares of order n with the first row in order.

Original entry on oeis.org

1, 0, 0, 2, 8, 128, 171200, 7447587840, 5056994653507584
Offset: 1

Views

Author

Eduard I. Vatutin, Jul 07 2016

Keywords

Comments

A diagonal Latin square is a Latin square in which both the main diagonal and main antidiagonal contain each element. - Andrew Howroyd, Sep 29 2020

Examples

			The a(4) = 2 diagonal Latin squares are:
   0 1 2 3   0 1 2 3
   2 3 0 1   3 2 1 0
   3 2 1 0   1 0 3 2
   1 0 3 2   2 3 0 1
.
The a(5) = 8 diagonal Latin squares are:
   0 1 2 3 4   0 1 2 3 4   0 1 2 3 4   0 1 2 3 4
   1 3 4 2 0   1 4 3 0 2   2 3 4 0 1   2 4 1 0 3
   4 2 1 0 3   3 2 1 4 0   4 0 1 2 3   4 0 3 2 1
   2 0 3 4 1   4 3 0 2 1   1 2 3 4 0   3 2 4 1 0
   3 4 0 1 2   2 0 4 1 3   3 4 0 1 2   1 3 0 4 2
.
   0 1 2 3 4   0 1 2 3 4   0 1 2 3 4   0 1 2 3 4
   3 4 0 1 2   3 4 1 2 0   4 2 0 1 3   4 2 3 0 1
   1 2 3 4 0   4 2 3 0 1   1 4 3 2 0   3 4 1 2 0
   4 0 1 2 3   2 0 4 1 3   3 0 1 4 2   1 3 0 4 2
   2 3 4 0 1   1 3 0 4 2   2 3 4 0 1   2 0 4 1 3
		

Crossrefs

Formula

a(n) = A274806(n)/n!.

Extensions

a(9) added from Vatutin et al. (2016) by Max Alekseyev, Oct 05 2016
a(9) corrected by Eduard I. Vatutin, Oct 20 2016

A274806 Number of diagonal Latin squares of order n.

Original entry on oeis.org

1, 0, 0, 48, 960, 92160, 862848000, 300286741708800, 1835082219864832081920
Offset: 1

Views

Author

Eduard I. Vatutin, Jul 07 2016

Keywords

Comments

A diagonal Latin square is a Latin square in which both the main diagonal and main antidiagonal contain each element. - Andrew Howroyd, Oct 05 2020

Crossrefs

Formula

a(n) = A274171(n) * n!.

Extensions

a(9) from Vatutin et al. (2016) added by Max Alekseyev, Oct 05 2016
a(9) corrected by Eduard I. Vatutin, Oct 20 2016

A000479 Number of 1-factorizations of K_{n,n}.

Original entry on oeis.org

1, 1, 1, 2, 24, 1344, 1128960, 12198297600, 2697818265354240, 15224734061278915461120, 2750892211809148994633229926400, 19464657391668924966616671344752852992000
Offset: 0

Views

Author

Keywords

Comments

Also, number of Latin squares of order n with first row 1,2,...,n.
Also number of fixed diagonal Latin squares of order n. - Eric W. Weisstein, Dec 18 2005
Also maximum number of Latin squares of order n such that no two of them have all the same rows (respectively, columns). - Rick L. Shepherd, Mar 01 2008

References

  • CRC Handbook of Combinatorial Designs, 1996, p. 660.
  • Denes and Keedwell, Latin Squares and Applications, Academic Press 1974.

Crossrefs

See A040082 and A264603 for other versions.

Formula

a(n) = A000315(n)*(n-1)! = A002860(n)/n!.

Extensions

a(11) (from the McKay-Wanless article) from Richard Bean, Feb 17 2004

A035481 Number of n X n symmetric matrices whose first row is 1..n and whose rows and columns are all permutations of 1..n.

Original entry on oeis.org

1, 1, 1, 1, 4, 6, 456, 6240, 10936320, 1225566720, 130025295912960, 252282619805368320, 2209617218725251404267520, 98758655816833727741338583040
Offset: 0

Views

Author

Joshua Zucker and Joe Keane

Keywords

Comments

The odd subsequence is A000438. The even subsequence is A035483.

Examples

			a(3) = 1 because after 123 in the first row and column, 213 is not allowed for the second row, so it must be 231 and thus the third row is 312.
		

Crossrefs

Programs

  • Mathematica
    (* This script is not suitable for n > 6 *) matrices[n_ /; n > 1] := Module[{a, t, vars}, t = Table[Which[i==1, j, j==1, i, j>i, a[i, j], True, a[j, i]], {i, n}, {j, n}]; vars = Select[Flatten[t], !IntegerQ[#]& ] // Union; t /. {Reduce[And @@ (1 <= # <= n & /@ vars) && And @@ Unequal @@@ t, vars, Integers] // ToRules}]; a[0] = a[1] = 1; a[n_] := Length[ matrices[n]]; Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 0, 6}] (* Jean-François Alcover, Jan 04 2016 *)

Extensions

a(10)-a(13) from Ian Wanless, Oct 20 2019

A351409 a(n) = n*(n!)^(2*n-2).

Original entry on oeis.org

1, 8, 3888, 764411904, 214990848000000000, 224634374557469245440000000000, 1880461634768804771224006806208512000000000000, 240091793104790737576620139562796649430329798636339200000000000000, 813675117804798213250391541747787241264315446434692481270971279693253181440000000000000000
Offset: 1

Views

Author

Dan Eilers, Feb 11 2022

Keywords

Comments

a(n) is the number of reduced Stable Marriage Problem instances of order n. In the SMP, relabeling men or women has no effect on the number of stable matchings. So the men and women can be relabeled to normalize the order of man #1's rankings (with woman #1 as his first choice and woman n as his last choice), and to similarly normalize the order of woman #1's rankings, except for her ranking of man #1. This reduces the number of possible instances by a factor of n!(n-1)! (A010790 with shifted offset), from (n!)^(2n) (A185141) to a(n). This reduction is directly analogous to the identical reduction from latin squares (A002860) to reduced latin squares (A000315), and can be directly applied to the Latin Stable Marriage Problem (A351413). As with reduced latin squares, some further reduction is possible analogous to row/column reduced latin squares (A123234).
It is tempting to aim for a reduction of (n!)^2 by simultaneously normalizing all of man #1 and woman #1's preferences, but that isn't possible unless man #1 and woman #1 happen to be mutual first choices.
Applying this reduction to A344669 reduces A344669(2) and A344669(4) to 1, demonstrating that these maximal instances arising in A005154 are unique up to participant relabeling. It raises the question of which other values of n make A344669(n) reducible to 1.

Crossrefs

Programs

Formula

a(n) = A185141(n) / A010790(n-1).
Showing 1-10 of 23 results. Next