A087489 Primes p such that 3^p - 2^p is composite.
7, 11, 13, 19, 23, 37, 41, 43, 47, 61, 67, 71, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 281, 283, 293, 307, 311, 313, 317
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
Mathematica
Select[Prime[Range[100]],CompositeQ[3^#-2^#]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 18 2018 *)
-
PARI
apmb(a,b,n) = { forprime(x=2,n, y=a^x-b^x; if(!ispseudoprime(y), print1(x","); ) ) }
Extensions
Offset corrected by Mohammed Yaseen, Jul 17 2022