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.

Previous Showing 11-16 of 16 results.

A326740 Numbers which converge to 7 under repeated application of the powertrain map of A133500.

Original entry on oeis.org

7, 71, 75, 107, 117, 127, 137, 147, 157, 167, 177, 187, 197, 207, 307, 407, 507, 523, 543, 607, 707, 711, 723, 747, 751, 807, 907, 1071, 1075, 1171, 1175, 1271, 1275, 1371, 1375, 1471, 1475, 1571, 1575, 1671, 1675, 1771, 1775, 1871, 1875, 1971, 1975, 2071
Offset: 1

Views

Author

Martin Renner, Jul 22 2019

Keywords

Examples

			75 -> 7^5 = 16807 -> 1^6*8^0*7 = 7.
		

Crossrefs

A326741 Numbers which converge to 8 under repeated application of the powertrain map of A133500.

Original entry on oeis.org

8, 23, 27, 33, 34, 81, 92, 108, 118, 128, 138, 148, 158, 168, 178, 188, 198, 208, 214, 222, 231, 248, 254, 262, 271, 287, 308, 319, 323, 329, 331, 333, 334, 341, 408, 412, 428, 432, 447, 459, 508, 608, 623, 632, 708, 748, 794, 808, 811, 822, 908, 913, 919, 921
Offset: 1

Views

Author

Martin Renner, Jul 22 2019

Keywords

Examples

			33 -> 3^3 = 27 -> 2^7 = 128 -> 1^2*8 = 8.
		

Crossrefs

A326742 Numbers which converge to 9 under repeated application of the powertrain map of A133500.

Original entry on oeis.org

9, 25, 32, 52, 91, 109, 119, 129, 139, 149, 159, 169, 179, 189, 199, 209, 228, 234, 242, 251, 279, 295, 309, 313, 321, 337, 377, 409, 418, 422, 509, 515, 521, 539, 544, 609, 709, 809, 814, 835, 909, 911, 965, 1025, 1032, 1052, 1091, 1125, 1132, 1152, 1191
Offset: 1

Views

Author

Martin Renner, Jul 22 2019

Keywords

Examples

			25 -> 2^5 = 32 -> 3^2 = 9.
		

Crossrefs

Programs

  • Python
    def powertrain(n):
        p, s = 1, str(n)
        if len(s)%2 == 1: s += '1'
        for b, e in zip(s[0::2], s[1::2]): p *= int(b)**int(e)
        return p
    def aupto(limit, target=0):
        alst = []
        for n in range(1, limit+1):
            m, ptm = n, powertrain(n)
            while m != ptm: m, ptm = ptm, powertrain(ptm)
            if m == target: alst.append(n)
        return alst
    print(aupto(1191, target=9)) # Michael S. Branicky, Sep 25 2021

A131571 Fixed points of the map m -> powerback(m) (see A133048 for definition).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 25, 107495424
Offset: 1

Views

Author

J. H. Conway and N. J. A. Sloane, Dec 31 2007

Keywords

Comments

Probably there are no other terms. There are no other terms below 10^100.

Examples

			Under the powerback map of A133048, 25 -> 5^2 = 25, 107495424 -> 4^2*4^5*9^4*7^0*1 = 107495424.
		

Crossrefs

A287877 Start with n and repeatedly apply the powertrain map x -> A133500(x); a(n) is the fixed point that is eventually reached, or -1 if the trajectory never reaches a fixed point.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 8, 1, 9, 0, 8, 2, 1, 1, 3, 9, 8, 8, 0, 2, 0, 0, 0, 1, 4, 1, 0, 2, 1, 0, 0, 0, 0, 1, 5, 9, 5, 0, 0, 0, 0, 0, 0, 1, 6, 2, 1, 0, 0, 0, 0, 0, 0, 1, 7, 0, 0, 0, 7, 0, 0, 0, 0, 1, 8, 0, 1, 0, 0, 0, 0, 0, 0, 1, 9, 8, 2, 0, 0, 0, 0, 0, 0, 0, 1
Offset: 1

Views

Author

N. J. A. Sloane, Jun 16 2017

Keywords

Comments

It is conjectured that a fixed point is always reached.
It is also conjectured that the only fixed points are the numbers 0 through 9, 2592, and 24547284284866560000000000 (see A135385).

Crossrefs

A258584 Numbers n such that n = Sum_{j>=1} c(j) where c(0) = n, c(j) = floor(c(j-1)/10^k)*(c(j-1) mod 10^k) for j>0, and k is half the number of digits of n, rounded up if the number of digits of n is odd.

Original entry on oeis.org

86, 860, 1975, 2160, 3575, 19750, 21600, 35750, 43614, 51884, 65625, 479900, 868688, 967750, 1435575, 1548384, 1696875, 4799000, 8686880, 9677500, 28874200, 34095100, 38748800, 39214560, 47613625, 53415625, 148385715, 156293216, 288742000, 340951000, 387488000
Offset: 1

Views

Author

Pieter Post, Nov 06 2015

Keywords

Comments

If n is an odd-digit decimal number, the first half is one digit smaller than the second half. For example, 43614 is in the sequence, because 43*614 = 26402, 26*402 = 10452, 10*452 = 4520, 4*520 = 2080, 2*80 = 160. Here the iteration stops because 160 has three digits, so the first half of the next multiplication is zero. 43614 = 26402 + 10452 + 4520 + 2080 + 160.
If n is an even-digit decimal number, the first half and the second half have the same length. For example, 868688 is in the sequence because 868*688 = 597184, 597*184 = 109848, 109*848 = 92432, 92*432 = 39744, 39*744 = 29016, 29*16 = 464, and here the iteration stops. 868688 = 597184 + 109848 + 92432 + 39744 + 29016 + 464.
If n is in the sequence and has an even number of digits, then 10*n is also in the sequence. - Jon E. Schoenfield, Nov 07 2015

Examples

			86 is in the sequence because 8*6 = 48, 4*8 = 32 and 3*2 = 6. And 86 = 48 + 32 + 6.
		

Crossrefs

Programs

  • Mathematica
    fQ[n_] := Block[{i = Ceiling[IntegerLength[n]/2], g}, g[x_] := If[IntegerLength@ x <= i, x, Times @@ (FromDigits /@ {If[IntegerLength@ x - i == 0, Nothing, Take[IntegerDigits@ x, IntegerLength@ x - i]], Take[IntegerDigits@ x, -i]})]; Total@ Rest@ Most@ FixedPointList[g, n] == n]; Select[Range@ 500000, fQ] (* Michael De Vlieger, Nov 06 2015 *)
  • Python
    def pod(n, m):
        kk = 1
        while n > 0:
            kk= kk*(n%m)
            n =int(n//m)
        return kk
    for b in range(0, 6):
        dd, bb=0, (b-1)//2+2
        j=10**bb
        for c in range (10*j, 100*j):
            d, a, ca=0, 0, pod(c, j)
            while ca>0:
                d, a=d+ca, a+1
                if ca
    				

Extensions

a(21)-a(31) from Jon E. Schoenfield, Nov 07 2015
Obsolete b-file deleted by N. J. A. Sloane, Jan 05 2019
Previous Showing 11-16 of 16 results.