login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Nonnegative integers x such that x^y+y^x is not prime for any integer y>1, y<x.
1

%I #3 Jul 14 2012 11:32:25

%S 0,1,2,4,5,6,7,8,10,11,12,13,14,16,17,18,19,20,22,23,25,26,27,28,29,

%T 30,31,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,55,57,

%U 58,59,60,61,62,63,64,65,66,67,70,71,72,73,74,77,78,79,80,82,83,84,85,86

%N Nonnegative integers x such that x^y+y^x is not prime for any integer y>1, y<x.

%C This lists the nonnegative integers not occurring in A162486, i.e. the complement of A162488.

%C See A094133 for more information, links and references.

%o (PARI) for( i=0,999, for( j=2,i-1, is/*pseudo*/prime(i^j+j^i) && next(2)); print1(i", "))

%Y Cf. A094133, A162486 - A162490.

%K nonn

%O 1,3

%A _M. F. Hasler_, Jul 04 2009