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-20 of 22 results. Next

A162220 Corresponding exponents for A162219.

Original entry on oeis.org

1, 1, 1, 1, 3, 3, 3, 3, 5, 5, 3, 3, 3, 3, 4, 7, 7, 4, 9, 9, 6, 11, 11, 7, 7, 7, 7, 7, 7, 8, 13, 13, 8, 8, 9, 9, 15, 15, 9, 9, 17, 17, 19, 19, 12, 21, 21, 13, 13, 13, 13, 13, 13, 13, 23, 23, 15, 25, 25, 15, 15, 15, 16, 16, 16, 27, 27, 17, 17, 17, 17, 29, 29, 18, 18, 18, 31, 31, 33, 33, 35
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162219, A033836, A162221. In other bases: A162217 (base 3), A162223 (base 5), A162226 (base 6), A162229 (base 7), A162232 (base 8), A162235 (base 9), A046074 (base 10).

A162223 Corresponding exponents for A162222.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 3, 3, 7, 4, 5, 4, 4, 6, 6, 6, 13, 8, 9, 9, 16, 14, 13, 15, 15, 14, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 18, 18, 24, 20, 20, 20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 25, 25, 25, 26, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 31, 31, 31, 32, 34, 34, 34, 34
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162222, A033837, A162224. In other bases: A162217 (base 3), A162220 (base 4), A162226 (base 6), A162229 (base 7), A162232 (base 8), A162235 (base 9), A046074 (base 10).

A162226 Corresponding exponents for A162225.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9, 13, 13, 13, 13, 13, 13, 13, 13, 13, 15, 15, 15, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 19, 20, 20, 21, 21, 21, 21, 21, 21, 21, 23, 24, 24, 25, 25, 25, 25, 25, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 31, 32, 32, 32, 33
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162225, A033838, A162227. In other bases: A162217 (base 3), A162220 (base 4), A162223 (base 5), A162229 (base 7), A162232 (base 8), A162235 (base 9), A046074 (base 10).

A162229 Corresponding exponents for A162228.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 3, 2, 3, 2, 2, 2, 5, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 7, 7, 7, 7, 7, 10, 9, 9, 9, 9, 10, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 15, 17, 17, 17, 17, 17, 19, 19, 19, 19, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 24, 24
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162228, A033839, A162230. In other bases: A162217 (base 3), A162220 (base 4), A162223 (base 5), A162226 (base 6), A162232 (base 8), A162235 (base 9), A046074 (base 10).

A162232 Corresponding exponents for A162231.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 2, 2, 3, 7, 7, 3, 4, 4, 4, 4, 3, 3, 3, 10, 10, 5, 5, 5, 13, 13, 8, 7, 7, 7, 7, 5, 5, 5, 5, 5, 16, 16, 8, 8, 6, 19, 19, 7, 7, 7, 10, 10, 10, 10, 7, 7, 8, 22, 22, 11, 11, 8, 25, 25, 9, 13, 13, 13, 13, 28, 28, 14, 14, 10, 10, 31, 31, 16, 16, 16, 16, 11, 12, 34, 34, 17
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162231, A033840, A162233. In other bases: A162217 (base 3), A162220 (base 4), A162223 (base 5), A162226 (base 6), A162229 (base 7), A162235 (base 9), A046074 (base 10).

A162235 Corresponding exponents for A162234.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 2, 2, 3, 3, 5, 5, 4, 3, 3, 3, 4, 7, 7, 5, 5, 5, 9, 9, 6, 5, 5, 11, 11, 7, 13, 13, 7, 7, 7, 8, 9, 9, 9, 9, 15, 15, 17, 17, 9, 9, 10, 10, 10, 19, 19, 10, 21, 21, 12, 12, 23, 23, 12, 12, 13, 13, 13, 13, 13, 25, 25, 13, 14, 14, 15, 15, 27, 27, 29, 29, 18, 16, 31
Offset: 1

Views

Author

Joseph Myers, Jun 28 2009

Keywords

Crossrefs

Cf. A162234, A033841, A162236. In other bases: A162217 (base 3), A162220 (base 4), A162223 (base 5), A162226 (base 6), A162229 (base 7), A162232 (base 8), A046074 (base 10).

A052464 Fixed points for operation of repeatedly replacing a number with the sum of the fifth power of its digits.

Original entry on oeis.org

0, 1, 4150, 4151, 54748, 92727, 93084, 194979
Offset: 1

Views

Author

Henry Bottomley, Mar 15 2000

Keywords

Comments

Equivalently, numbers equal to the sum of 5th powers of their decimal digits. Since this sum is <= 9^5*d for a d-digit number n >= 10^(d-1), there cannot be such a number with more than 6 digits. - M. F. Hasler, Apr 12 2015

Examples

			a(2) = 4150 since 4^5 + 1^5 + 5^5 + 0^5 = 1024 + 1 + 3125 + 0 = 4150.
		

Crossrefs

Programs

A134703 Powerful numbers (2b): a sum of nonnegative powers of its digits.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 43, 63, 89, 132, 135, 153, 175, 209, 224, 226, 254, 258, 262, 263, 264, 267, 283, 308, 332, 333, 334, 347, 357, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 407, 445, 463, 472, 518, 538, 598, 629, 635, 653, 675, 730, 731, 732, 733, 734
Offset: 1

Views

Author

David W. Wilson, Sep 05 2009

Keywords

Comments

Here 0 digits may be used, with the convention that 0^0 = 1. Of course 0^1 = 0, so one is free to use the 0 digit to get an extra 1, or not.

Examples

			43 = 4^2 + 3^3; 254 = 2^7 + 5^3 + 4^0 = 128 + 125 + 1.
209 = 2^7 + 0^1 + 9^2.
732 = 7^0 + 3^6 + 2^1.
		

Crossrefs

Different from A007532 and A061862, which are variations.

Formula

If n = d_1 d_2 ... d_k in decimal then there are integers m_1 m_2 ... m_k >= 0 such that n = d_1^m_1 + ... + d_k^m_k.

A061862 Powerful numbers (2a): a sum of nonnegative powers of its digits.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 43, 63, 89, 132, 135, 153, 175, 209, 224, 226, 254, 258, 262, 263, 264, 267, 283, 332, 333, 334, 347, 357, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 407, 445, 463, 472, 518, 538, 598, 629, 635, 653, 675, 730, 731, 732
Offset: 1

Views

Author

Erich Friedman, Jun 23 2001

Keywords

Comments

Zero digits cannot be used in the sum. - N. J. A. Sloane, Aug 31 2009
More precisely, digits 0 do not contribute to the sum, in contrast to A134703 where it is allowed to use 0^0 = 1. - M. F. Hasler, Nov 21 2019

Examples

			43 = 4^2 + 3^3; 254 = 2^7 + 5^3 + 4^0 = 128 + 125 + 1.
209 = 2^7 + 9^2.
732 = 7^0 + 3^6 + 2^1.
		

Crossrefs

Different from A007532 and A134703, which are variations.

Programs

  • Haskell
    a061862 n = a061862_list !! (n-1)
    a061862_list = filter f [0..] where
       f x = g x 0 where
         g 0 v = v == x
         g u v = if d <= 1 then g u' (v + d) else v <= x && h 1
                 where h p = p <= x && (g u' (v + p) || h (p * d))
                       (u', d) = divMod u 10
    -- Reinhard Zumkeller, Jun 02 2013
  • Mathematica
    f[ n_ ] := Module[ {}, a=IntegerDigits[ n ]; e=g[ Length[ a ] ]; MemberQ[ Map[ Apply[ Plus, a^# ] &, e ], n ] ] g[ n_ ] := Map[ Take[ Table[ 0, {n} ]~Join~#, -n ] &, IntegerDigits[ Range[ 10^n ], 10 ] ] For[ n=0, n >= 0, n++, If[ f[ n ], Print[ n ] ] ]

Formula

If n = d_1 d_2 ... d_k in decimal then there are integers m_1 m_2 ... m_k >= 0 such that n = d_1^m_1 + ... + d_k^m_k.

A226063 Number of fixed points in base n for the sum of the fourth power of its digits.

Original entry on oeis.org

1, 1, 3, 4, 1, 1, 7, 3, 4, 3, 1, 2, 1, 7, 2, 2, 1, 4, 2, 6, 2, 3, 1, 3, 1, 11, 3, 3, 2, 2, 7, 4, 1, 4, 3, 1, 3, 4, 1, 2, 2, 2, 3, 4, 2, 2, 1, 2, 1, 2, 1, 2, 4, 3, 3, 2, 2, 1, 3, 2, 5, 2, 9, 2, 1, 2, 1, 1, 3, 2, 2, 1, 2, 5, 1, 5, 5, 4, 2, 5, 3, 2, 2, 3, 3, 1, 2
Offset: 2

Views

Author

Keywords

Comments

All fixed points in base n have at most 5 digits. Proof: In order to be a fixed point, a number with d digits in base n must meet the condition n^d <= d*(n-1)^4, which is only possible for d < 5.
For 5-digit numbers vwxyz in base n, only numbers where v*n^4 + n^3 - 1 <= v^4 + 3*(n-1)^4 or v*n^4 + n^4 - 1 <= v^4 + 4*(n-1)^4 are possible fixed points. v <= 2 for n <= 250.

Examples

			For a(8)=7, the solutions are {1,16,17,256,257,272,273}. In base 8, these are written as {1, 20, 21, 400, 401, 420, 421}. Because 1^4 = 1, 2^4 + 0^4 = 16, 2^4 + 1^4 = 17, 4^4 + 0^4 + 0^4 = 256, etc., these are the fixed points in base 8.
		

Crossrefs

Cf. A226064 (greatest fixed point).
Cf. A052455 (fixed points in base 10).

Programs

  • R
    inbase=function(n,b) { x=c(); while(n>=b) { x=c(n%%b,x); n=floor(n/b) }; c(n,x) }
    yn=rep(NA,20)
    for(b in 2:20) yn[b]=sum(sapply(1:(1.5*b^4),function(x) sum(inbase(x,b)^4))==1:(1.5*b^4)); yn
Previous Showing 11-20 of 22 results. Next