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.

A194356 Triangle of divisors of 10^n, each number occurring once.

Original entry on oeis.org

1, 2, 5, 10, 4, 20, 25, 50, 100, 8, 40, 125, 200, 250, 500, 1000, 16, 80, 400, 625, 1250, 2000, 2500, 5000, 10000, 32, 160, 800, 3125, 4000, 6250, 12500, 20000, 25000, 50000, 100000, 64, 320, 1600, 8000, 15625, 31250, 40000, 62500, 125000, 200000, 250000
Offset: 0

Views

Author

T. D. Noe, Aug 25 2011

Keywords

Comments

The following rule for divisibility applies: for each term t in the n-th row of the triangle, a positive integer m is divisible by t if the last n digits of m are divisible by t; e.g., for n = 2, since 20 is one of the terms in the 2nd row of the triangle, a number m is divisible by 20 if the last 2 digits of m are divisible by 20. - Martin Renner, Jan 15 2023

Examples

			The n-th row of the triangle begins with 2^n and ends with 10^n:
   1;
   2,  5,  10;
   4, 20,  25,  50,  100;
   8, 40, 125, 200,  250,  500, 1000;
  16, 80, 400, 625, 1250, 2000, 2500, 5000, 10000;
		

Crossrefs

Cf. A000079 (1st column), A011557 (right diagonal).
Cf. A003592 (numbers of the form 2^i*5^j).
Cf. A194357 (divisors of 6^n), A194358 (divisors of 30^n).

Programs

  • Maple
    T:={{1}}:
    for n from 1 to 9 do
      T:={op(T),numtheory[divisors](10^n) minus numtheory[divisors](10^(n-1))};
    od:
    T; # Martin Renner, Jan 16 2023
  • Mathematica
    Join[{{1}}, Table[Complement[Divisors[10^n], Divisors[10^(n-1)]], {n, 9}]]
  • PARI
    row(n) = my(pow2 = 2^n, pow5 = 5^n); Set(concat(vector(n+1, i, pow5*2^(i-1)), vector(n,i,pow2*5^(i-1)))) \\ David A. Corneth, Feb 19 2024
  • Python
    from sympy import divisors
    A194356 = []
    for k in range(0,7): # shows the terms in the range 10^0 ... 10^6
        for divisor in divisors(10**k):
            if divisor not in A194356: A194356.append(divisor)
    print(A194356) # Karl-Heinz Hofmann, Feb 19 2024
    
  • Python
    from math import isqrt
    def A194356(n):
        exp = isqrt(n)
        aarray = [2**exp, 10**exp]
        while aarray[-1] % 2 == 0: aarray.append(aarray[-1]//2)
        while aarray[0] * 5 < 10**exp: aarray = [aarray[0]*5] + aarray
        return sorted(aarray)[n-exp**2]
    print([A194356(n) for n in range(0,49)]) # Karl-Heinz Hofmann, Feb 19 2024
    

A194357 Triangle of divisors of 6^n, each number occurring once.

Original entry on oeis.org

1, 2, 3, 6, 4, 9, 12, 18, 36, 8, 24, 27, 54, 72, 108, 216, 16, 48, 81, 144, 162, 324, 432, 648, 1296, 32, 96, 243, 288, 486, 864, 972, 1944, 2592, 3888, 7776, 64, 192, 576, 729, 1458, 1728, 2916, 5184, 5832, 11664, 15552, 23328, 46656, 128, 384, 1152, 2187
Offset: 0

Views

Author

T. D. Noe, Aug 25 2011

Keywords

Examples

			The triangle has rows beginning with 2^k and ending with 6^k:
  1
  2,  3,  6
  4,  9,  12, 18,  36
  8,  24, 27, 54,  72,  108, 216
  16, 48, 81, 144, 162, 324, 432, 648, 1296
		

Crossrefs

Cf. A194356 (divisors of 10^n), A194358 (divisors of 30^n).
Cf. A003586 (3-smooth numbers).

Programs

  • Mathematica
    Join[{{1}}, Table[Complement[Divisors[6^n], Divisors[6^(n-1)]], {n, 9}]]
    DeleteDuplicates[Flatten[Divisors[6^Range[0,10]]]] (* Harvey P. Dale, Sep 12 2024 *)

A194359 Triangle of divisors of 210^n, each number occurring once.

Original entry on oeis.org

1, 2, 3, 5, 6, 7, 10, 14, 15, 21, 30, 35, 42, 70, 105, 210, 4, 9, 12, 18, 20, 25, 28, 36, 45, 49, 50, 60, 63, 75, 84, 90, 98, 100, 126, 140, 147, 150, 175, 180, 196, 225, 245, 252, 294, 300, 315, 350, 420, 441, 450, 490, 525, 588, 630, 700, 735, 882, 900
Offset: 0

Views

Author

T. D. Noe, Aug 26 2011

Keywords

Comments

The length of row k is A005917, the rhombic dodecahedral numbers, (k+1)^4 - k^4. The triangle has rows beginning with 2^k and ending with 210^k.

Crossrefs

Programs

  • Mathematica
    Join[{{1}}, Table[Complement[Divisors[210^n], Divisors[210^(n-1)]], {n, 9}]]
    Take[DeleteDuplicates[Flatten[Divisors/@(210^Range[5])]],100] (* Harvey P. Dale, Sep 03 2020 *)

A194360 Triangle of divisors of 105^n, each number occurring once.

Original entry on oeis.org

1, 3, 5, 7, 15, 21, 35, 105, 9, 25, 45, 49, 63, 75, 147, 175, 225, 245, 315, 441, 525, 735, 1225, 1575, 2205, 3675, 11025, 27, 125, 135, 189, 343, 375, 675, 875, 945, 1029, 1125, 1323, 1715, 2625, 3087, 3375, 4725, 5145, 6125, 6615, 7875, 8575, 9261, 15435
Offset: 0

Views

Author

T. D. Noe, Sep 08 2011

Keywords

Comments

The length of row k is A003215(k), the centered hexagonal numbers, 3k^2 + 3k + 1.

Examples

			The triangle has rows beginning with 3^k and ending with 105^k:
1
3, 5, 7, 15, 21, 35, 105
9, 25, 45, 49, 63, 75, 147, 175, 225, 245, 315, 441, 525, 735, 1225, 1575, 2205, 3675, 11025
		

Crossrefs

Cf. A108347 (numbers of the form (3^i)*(5^j)*(7^k))

Programs

  • Mathematica
    Join[{{1}}, Table[Complement[Divisors[105^n], Divisors[105^(n-1)]], {n, 9}]]
Showing 1-4 of 4 results.