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!)
A265889 Primes which are multiple-digit narcissistic numbers in at least one base. 1

%I #9 May 01 2016 16:43:02

%S 5,13,17,29,37,41,43,53,61,83,97,101,109,113,127,173,181,197,229,257,

%T 281,293,307,313,353,397,401,419,421,433,457,541,577,613,641,661,677,

%U 701,733,761,769,811,857,863,997,1013,1061,1093,1153,1201,1229,1277,1297

%N Primes which are multiple-digit narcissistic numbers in at least one base.

%H Tim Johannes Ohrtmann, <a href="/A265889/b265889.txt">Table of n, a(n) for n = 1..2879</a>

%t Select[Prime@ Range@ 250, Function[k, AnyTrue[Range[2, k], Total[#^Length@ #] &@ IntegerDigits[k, #] == k &]]] (* Version 10, or *)

%t Select[Prime@ Range@ 250, Function[k, Total@ Boole[Total[#^Length@ #] &@ IntegerDigits[k, #] == k & /@ Range[2, k]] > 0]] (* _Michael De Vlieger_, Apr 30 2016 *)

%Y Intersection of A000040 and A256359.

%Y Cf. A145380, A180015.

%K nonn,base

%O 1,1

%A _Tim Johannes Ohrtmann_, Dec 18 2015

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 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)