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.
%I A023106 #29 Mar 30 2024 17:00:31 %S A023106 0,1,2,3,4,5,6,7,8,9,81,512,2401,4913,5832,17576,19683,234256,390625, %T A023106 614656,1679616,17210368,34012224,52521875,60466176,205962976, %U A023106 612220032,8303765625,10460353203,24794911296,27512614111,52523350144,68719476736 %N A023106 a(n) is a power of the sum of its digits. %C A023106 Base-10 Reacher numbers: named for the character Jack Reacher in the series of books by Lee Child. Reacher likes the number 81 because it is the square of the sum of its base-10 digits. - _Jeffrey Shallit_, Apr 03 2015 %C A023106 Contains A061209 and A061210 and all terms of A061211. See A252648 for numbers which are the sum of some power of their digits. - _M. F. Hasler_, Apr 13 2015 %D A023106 Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, page 36. %H A023106 David W. Wilson, <a href="/A023106/b023106.txt">Table of n, a(n) for n = 0..1137</a> %H A023106 Jeffrey Shallit, <a href="http://recursed.blogspot.ca/2007/09/mathematics-in-jack-reacher-novel.html">Mathematics in a Jack Reacher Novel</a>, blog post, September 8 2007. %e A023106 2401 is an element because 2401 = 7^4 is a power of its digit sum 7. %t A023106 fQ[n_] := Block[{b = Plus @@ IntegerDigits[n]}, If[b > 1, IntegerQ[ Log[b, n]] ]]; Take[ Select[ Union[ Flatten[ Table[n^m, {n, 55}, {m, 9}]]], fQ[ # ] &], 31] (* _Robert G. Wilson v_, Jan 28 2005 *) %t A023106 Join[{0,1},Select[Range[0,1700000],IntegerQ[Log[Total[IntegerDigits[#]],#]]&]//Quiet] (* The program generates the first 21 terms of the sequence. *) (* _Harvey P. Dale_, Mar 30 2024 *) %o A023106 (PARI) is(n)={n<10||(!(n%s=sumdigits(n))&&s>1&&n==s^round(log(n)/log(s)))} \\ _M. F. Hasler_, Apr 13 2015 %o A023106 (Python) import math %o A023106 def is_valid(n): dsum = sum(map(int, str(n))); return dsum ** int(round(math.log(n, dsum))) == n if dsum > 1 else n < 2 %o A023106 # _Victor Dumbrava_, May 02 2018 %Y A023106 Cf. A061209, A061210, A061211, A252648. %K A023106 nonn,base,nice %O A023106 0,3 %A A023106 _David W. Wilson_