A152147
Irregular triangle in which row n lists k > 0 such that the sum of digits of k^n equals k.
Original entry on oeis.org
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 9, 1, 8, 17, 18, 26, 27, 1, 7, 22, 25, 28, 36, 1, 28, 35, 36, 46, 1, 18, 45, 54, 64, 1, 18, 27, 31, 34, 43, 53, 58, 68, 1, 46, 54, 63, 1, 54, 71, 81, 1, 82, 85, 94, 97, 106, 117, 1, 98, 107, 108, 1, 108, 1, 20, 40, 86, 103, 104, 106, 107, 126, 134, 135
Offset: 1
1, 2, 3, 4, 5, 6, 7, 8, 9;
1, 9;
1, 8, 17, 18, 26, 27; (A046459, with 0)
1, 7, 22, 25, 28, 36; (A055575 " )
1, 28, 35, 36, 46; (A055576 " )
1, 18, 45, 54, 64; (A055577 " )
1, 18, 27, 31, 34, 43, 53, 58, 68; (A226971 " )
1, 46, 54, 63;
1, 54, 71, 81,
1, 82, 85, 94, 97, 106, 117,
1, 98, 107, 108, etc.
-
def ok(k, r): return sum(map(int, str(k**r))) == k
def agen(rows, startrow=1, withzero=0):
for r in range(startrow, rows + startrow):
d, lim = 1, 1
while lim < r*9*d: d, lim = d+1, lim*10
yield from [k for k in range(1-withzero, lim+1) if ok(k, r)]
print([an for an in agen(13)]) # Michael S. Branicky, May 23 2021
A046459
Dudeney numbers: integers equal to the sum of the digits of their cubes.
Original entry on oeis.org
0, 1, 8, 17, 18, 26, 27
Offset: 1
a(3) = 8 because 8^3 = 512 and 5 + 1 + 2 = 8.
a(7) = 27 because 27^3 = 19683 and 1 + 9 + 6 + 8 + 3 = 27.
- H. E. Dudeney, 536 Puzzles & Curious Problems, reprinted by Souvenir Press, London, 1968, p. 36, #120.
- Italo Ghersi, Matematica dilettevole e curiosa, p. 115, Hoepli, Milano, 1967. [From Vincenzo Librandi, Jan 02 2009]
- F. Le Lionnais, Les nombres remarquables, Hermann, 1983.
- J. Roberts, Lure of the Integers, The Mathematical Association of America, 1992, p. 172.
- David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 96.
-
[n: n in [0..100] | &+Intseq(n^3) eq n ]; // Vincenzo Librandi, Sep 16 2015
-
Select[Range[0,30],#==Total[IntegerDigits[#^3]]&] (* Harvey P. Dale, Dec 21 2014 *)
-
isok(k)=sumdigits(k^3)==k \\ Patrick De Geest, Dec 10 2024
-
a = [n for n in range(100) if sum(map(int, str(n ** 3))) == n] # David Radcliffe, Aug 18 2022
A055566
Sum of digits of n^5.
Original entry on oeis.org
0, 1, 5, 9, 7, 11, 27, 22, 26, 27, 1, 14, 27, 25, 29, 36, 31, 35, 45, 37, 5, 18, 25, 29, 36, 40, 35, 36, 28, 23, 9, 34, 29, 36, 31, 35, 36, 46, 41, 36, 7, 29, 27, 31, 35, 36, 46, 32, 45, 43, 11, 27, 22, 44, 36, 37, 41, 36, 52, 47, 27, 40, 35, 45, 37, 32, 36, 25, 47, 36, 22, 35
Offset: 0
a(2) = 5 because 2^4 = 32 and 3+2 = 5.
Trajectories under the map x->a(x):
1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->..
2 ->5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->..
3 ->9 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->..
4 ->7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->..
5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->23 ->..
6 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->36 ->..
7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->7 ->..
A055575
Sum of digits of n^4 is equal to n.
Original entry on oeis.org
0, 1, 7, 22, 25, 28, 36
Offset: 1
7 is a member because 7^4 = 2401 and 2+4+0+1 = 7.
A055577
Numbers k such that the sum of digits of k^6 is equal to k.
Original entry on oeis.org
0, 1, 18, 45, 54, 64
Offset: 1
a(2) = 18 because 18^6 = 34012224 and 3+4+0+1+2+2+2+4 = 18
A046000
a(n) is the largest number m equal to the sum of digits of m^n.
Original entry on oeis.org
1, 9, 9, 27, 36, 46, 64, 68, 63, 81, 117, 108, 108, 146, 154, 199, 187, 216, 181, 207, 207, 225, 256, 271, 288, 337, 324, 307, 328, 341, 396, 443, 388, 423, 463, 477, 424, 495, 469, 523, 502, 432, 531, 572, 603, 523, 592, 666, 667, 695, 685, 685, 739, 746, 739, 683, 684, 802, 754, 845, 793, 833, 865
Offset: 0
a(3) = 27 because 27 is the largest number with 27^3 = 19683 and 1+9+6+8+3 = 27.
a(5) = 46 because 46 is the largest number with 46^5 = 205962976 and 2+0+5+9+6+2+9+7+6 = 46.
- Amarnath Murthy, The largest and the smallest m-th power whose digits sum /product is its m-th root. To appear in Smarandache Notions Journal, 2003.
- Amarnath Murthy, e-book, "Ideas on Smarandache Notions" MS.LIT
- Joe Roberts, "Lure of the Integers", The Mathematical Association of America, 1992, p. 172.
-
meanDigit = 9/2; translate = 900; upperm[1] = translate;
upperm[n_] := Exp[-ProductLog[-1, -Log[10]/(meanDigit*n)]] + translate;
(* assuming that upper bound of m fits the implicit curve m = Log[10, m^n]*9/2 *)
a[0] = 1; a[n_] := (For[max = m = 0, m <= upperm[n], m++, If[m == Total[IntegerDigits[m^n]], max = m]]; max);
Table[a[n], {n, 0, 1000}] (* Jean-François Alcover, Jan 09 2018, updated Jul 07 2022 *)
-
def ok(k, n): return sum(map(int, str(k**n))) == k
def a(n):
d, lim = 1, 1
while lim < n*9*d: d, lim = d+1, lim*10
return next(k for k in range(lim, 0, -1) if ok(k, n))
print([a(n) for n in range(63)]) # Michael S. Branicky, Jul 06 2022
A281916
5th power analog of Keith numbers.
Original entry on oeis.org
1, 28, 35, 36, 46, 51, 99, 109, 191, 239, 476, 491, 1022, 1126, 1358, 1362, 15156, 21581, 44270, 63377, 100164, 375830, 388148, 2749998, 5215505, 10158487, 81082532, 87643314, 410989134, 1485204944, 3496111364, 3829840893, 15889549579, 16107462404, 16766005098, 17608009898
Offset: 1
109^5 = 15386239549:
1 + 5 + 3 + 8 + 6 + 2 + 3 + 9 + 5 + 4 + 9 = 55;
5 + 3 + 8 + 6 + 2 + 3 + 9 + 5 + 4 + 9 + 55 = 109.
-
with(numtheory): P:=proc(q, h,w) local a, b, k, t, v; global n; v:=array(1..h);
for n from 1 to q do b:=n^w; a:=[];
for k from 1 to ilog10(b)+1 do a:=[(b mod 10), op(a)]; b:=trunc(b/10); od;
for k from 1 to nops(a) do v[k]:=a[k]; od; b:=ilog10(n^w)+1;
t:=nops(a)+1; v[t]:=add(v[k], k=1..b); while v[t]
-
(* function keithQ[ ] is defined in A007629 *)
a281916[n_] := Join[{1}, Select[Range[10, n], keithQ[#, 5]&]]
a281916[5*10^5] (* Hartmut F. W. Hoft, Jun 03 2021 *)
A055571
Sum of digits of a(n)^5 is greater than or equal to a(n).
Original entry on oeis.org
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 31, 33, 35, 36, 37, 38, 46
Offset: 1
a(2) = 2 because 2^5 = 32 and 3+2 = 5>= 2
A254000
Numbers equal to the fifth powers of the sums of their digits.
Original entry on oeis.org
0, 1, 17210368, 52521875, 60466176, 205962976
Offset: 1
205962976 = 46^5 = (2 + 0 + 5 + 9 + 6 + 2 + 9 + 7 + 6)^5.
- Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, page 36.
-
Select[Range@ 210000000, Plus @@ IntegerDigits@ # ^ 5 == # &] (* Michael De Vlieger, Feb 25 2015 *)
-
lista(nn) = {for (n=0, nn, if (n^5 == sumdigits(n^5)^5, print1(n^5, ", ")););} \\ Michel Marcus, Feb 23 2015
A226971
Numbers k such that the sum of digits of k^7 is equal to k.
Original entry on oeis.org
0, 1, 18, 27, 31, 34, 43, 53, 58, 68
Offset: 1
a(3) = 18 because 18^7 = 612220032 and 6+1+2+2+2+0+0+3+2 = 18.
-
[n: n in [0..80] | &+Intseq(n^7) eq n]; // Vincenzo Librandi, Feb 23 2015
-
Select[Range[0, 100], #==Total[IntegerDigits[#^7]]&]
-
isok(k)=sumdigits(k^7)==k \\ Patrick De Geest, Dec 13 2024
-
[n for n in (0..70) if sum((n^7).digits()) == n] # Bruno Berselli, Feb 23 2015
Showing 1-10 of 10 results.
Comments