login
Numbers n >= 0 such that n^3-n-1 is not prime.
1

%I #9 Jul 14 2017 17:19:26

%S 0,1,5,6,7,10,12,13,17,19,20,22,25,26,27,28,30,32,33,34,37,39,40,42,

%T 43,44,46,47,49,50,51,52,53,54,56,57,61,62,63,65,66,67,68,72,73,74,75,

%U 77,78,79,80,82,83,84,85,87,88,89,90,91,92,93,94,95,96,97,99,100,101,102

%N Numbers n >= 0 such that n^3-n-1 is not prime.

%H Robert Israel, <a href="/A177089/b177089.txt">Table of n, a(n) for n = 1..10000</a>

%p remove(n -> isprime(n^3-n-1), [$0..1000]); # _Robert Israel_, Jul 14 2017

%o (PARI) isok(n) = !isprime(n^3-n-1); \\ _Michel Marcus_, Jul 14 2017

%Y Cf. A126421.

%K nonn

%O 1,3

%A _Vincenzo Librandi_, Jun 05 2010

%E Checked by _Jud McCranie_, Jun 16 2010

%E 0 and 1 added by _R. J. Mathar_, Jun 18 2010