cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A088110 Numbers n such that 2^n + n and 2^n - n are noncomposite.

This page as a plain text file.
%I A088110 #17 Sep 08 2022 08:45:11
%S A088110 0,1,3,9
%N A088110 Numbers n such that 2^n + n and 2^n - n are noncomposite.
%C A088110 Conjecture: sequence is finite.
%C A088110 No more terms < 88075. - _David Wasserman_, Jul 20 2005
%e A088110 9 is a member as 2^9 + 9 = 521 and 2^9 - 9 = 503 are primes.
%t A088110 Join[{0, 1}, Select[Range[1000], PrimeQ[2^# + #] && PrimeQ[2^# -#] &]] (* _Vincenzo Librandi_, Dec 08 2015 *)
%o A088110 (Magma) [0,1] cat [n: n in [0..1000] | IsPrime(2^n+n) and IsPrime(2^n-n)]; // _Vincenzo Librandi_, Dec 08 2015
%Y A088110 Cf. A048744, A052007.
%K A088110 more,nonn
%O A088110 1,3
%A A088110 _Amarnath Murthy_, Sep 25 2003