The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A243507 Consider a decimal number, n, with k digits. n = d(k)*10^(k-1) + d(k-1)*10^(k-2) + … + d(2)*10 + d_(1). Sequence lists the numbers n that divide s = Sum_{i=1..k} d(i)^d(i). 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 63, 64, 93, 377, 643, 699, 760, 2428, 3435, 13073, 46864, 184405, 208858, 1313290, 2326990, 2868720, 2868741, 18273988, 25265859, 33690905, 87889176, 194123725, 589957694 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Since 0^0 is indeterminate, but for all other Xs, X^0 is 1, we define 0^0 here to be 1. (Since 0 does not divide 1, 0 is not a member.)
For Münchhausen numbers (A046253) the ratio is 1. [Paolo P. Lava, Apr 08 2016]
LINKS
EXAMPLE
63 is in the sequence because 6^6+3^3 = 46683 and 46683/63 = 741, an integer.
MAPLE
with(numtheory): P:=proc(q) local a, b, k, n; for n from 1 to q do a:=[]; b:=n; while b>0 do a:=[op(a), b mod 10]; b:=trunc(b/10); od; b:=0; for k from 1 to nops(a) do if a[k]=0 then b:=b+1; else b:=b+a[k]^a[k]; fi; od; if type(b/n, integer) then print(n); fi; od; end: P(10^10);
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@ n /. {0 -> 1}}, Mod[ Total[ id^id], n] == 0]; k = 1; lst = {}; While[k < 10000000001, If[ fQ@ k, AppendTo[ lst, k]; Print@ k]; k++]; lst
CROSSREFS
Sequence in context: A024661 A107070 A320081 * A243023 A243024 A004860
KEYWORD
nonn,base,fini
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 09:05 EDT 2024. Contains 372673 sequences. (Running on oeis4.)