login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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