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-4 of 4 results.

A057339 Largest of the most frequently occurring numbers in 1-to-n multiplication cube.

Original entry on oeis.org

1, 4, 6, 12, 20, 24, 24, 48, 72, 120, 120, 120, 120, 168, 120, 240, 240, 360, 360, 360, 360, 360, 360, 720, 720, 720, 720, 1008, 1008, 720, 720, 720, 720, 720, 1680, 2520, 2520, 2520, 2520, 1440, 1440, 2520, 2520, 2520, 2520, 2520, 2520, 5040, 5040, 5040
Offset: 1

Views

Author

Neil Fernandez, Aug 28 2000

Keywords

Examples

			M(n) is the array in which m(x,y,z)=x*y*z for x = 1 to n, y = 1 to n and z = 1 to n. In M(7), the most frequently occurring numbers are 12 and 24, each occurring 15 times. The largest of these numbers is 24, so a(7) = 24.
		

Crossrefs

Programs

  • Java
    public class LargestMultCube {
        static int high, highestFrequency = 0;
        static int[] counters;
        public static void main(String[] args) {
            int max=500;
            counters = new int[max*max*max+1];
            for(int outer=1; outer<=max; outer++) {
                tally(outer*outer*outer, 1);
                for(int middle=outer-1; middle>=1; middle--) {
                    tally(outer*outer*middle, 3); tally(outer*middle*middle, 3);
                    for(int inner=middle-1; inner>=1; inner--) {
                        tally(outer*middle*inner, 6); } }
                System.out.println(outer+" "+high); } }
        private static void tally(int number, int repeatFactor) {
            counters[number] += repeatFactor;
            if(counters[number] >= highestFrequency) {
                if (counters[number] == highestFrequency)
                    if (number > high) high = number;
                if (counters[number] > highestFrequency) {
                    highestFrequency = counters[number]; high = number; } } } }
    // Branden Aldridge, Apr 15 2022

Extensions

More terms from David W. Wilson, Aug 28 2001

A057341 Occurrences of most frequently occurring number in 1-to-n 4-dimensional multiplication table.

Original entry on oeis.org

1, 6, 12, 28, 36, 60, 60, 96, 132, 180, 180, 276, 276, 276, 396, 468, 468, 576, 576, 756, 864, 864, 864, 1032, 1032, 1032, 1096, 1320, 1320, 1644, 1644, 1740, 1740, 1740, 2052, 2328, 2328, 2328, 2328, 2652, 2652, 3252, 3252, 3252, 3672, 3672, 3672, 4080, 4080, 4080
Offset: 1

Views

Author

Neil Fernandez, Aug 28 2000

Keywords

Examples

			M(n) is the array in which m(x,y,z,t)=x*y*z*t for x = 1 to n, y = 1 to n, z = 1 to n and t = 1 to n. In M(7) the most frequently occurring numbers are 60, 72, 84, 120 and 168. They occur 60 times, so a(7) = 60.
		

Crossrefs

Extensions

a(16)-a(50) from Charlie Neder, Jan 15 2019

A057343 Smallest of the most frequently occurring numbers in 1-to-n 4-dimensional multiplication table.

Original entry on oeis.org

1, 4, 6, 24, 60, 60, 60, 96, 144, 360, 360, 720, 720, 720, 720, 1440, 1440, 1440, 1440, 1440, 5040, 5040, 5040, 5040, 5040, 5040, 4320, 10080, 10080, 10080, 10080, 10080, 10080, 10080, 10080, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240, 30240
Offset: 1

Views

Author

Neil Fernandez, Aug 28 2000

Keywords

Examples

			M(n) is the array in which m(x,y,z,t)=x*y*z*t for x = 1 to n, y = 1 to n, z = 1 to n and t = 1 to n In M(7), the most frequently occurring numbers are 60, 72, 84, 120 and 168, each occurring 60 times. The smallest of these numbers is 60, so a(7) = 60.
		

Crossrefs

Extensions

a(16)-a(50) from Charlie Neder, Jan 15 2019

A057345 Largest of the most frequently occurring numbers in 1-to-n 5-dimensional multiplication table.

Original entry on oeis.org

1, 8, 36, 48, 120, 360, 840, 672, 864, 1440, 1440, 1440, 1440, 5040, 5040, 10080, 10080, 8640, 8640, 8640, 30240, 30240, 30240, 60480, 60480, 60480, 60480, 60480, 60480, 60480, 60480, 120960, 120960, 120960, 302400, 302400, 302400, 302400, 302400, 302400
Offset: 1

Views

Author

Neil Fernandez, Aug 28 2000

Keywords

Examples

			M(n) is the array in which m(x,y,z,t,u)=x*y*z*t*u for x = 1 to n, y = 1 to n, z = 1 to n, t = 1 to n and u = 1 to n. In M(7), the most frequently occurring numbers are 360, 420, 504 and 840, each occurring 300 times. The largest of these numbers is 840, so a(7) = 840.
		

Crossrefs

Extensions

More terms from Sean A. Irvine, Jun 03 2022
Showing 1-4 of 4 results.