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.
%I A118958 #14 Feb 04 2023 09:58:30 %S A118958 2,3,5,17,31,41,47,53,59,73,79,89,97,103,109,113,127,137,149,163,167, %T A118958 173,179,191,193,197,223,227,233,239,251,257,271,277,281,283,307,311, %U A118958 313,331,337,347,349,367,373,379,389,397,401,409,421,431,433,439,443 %N A118958 Primes that cannot be written as 2^k + p with p prime < 2^k. %C A118958 A118953(A049084(a(n))) = 0; A065381 is a subsequence. %H A118958 Robert Israel, <a href="/A118958/b118958.txt">Table of n, a(n) for n = 1..10000</a> %p A118958 filter:= proc(n) not isprime(n-2^ilog2(n)) end proc: %p A118958 select(filter, [seq(ithprime(i),i=1..100)]); # _Robert Israel_, Jan 27 2021 %t A118958 okQ[n_] := !PrimeQ[n-2^(Length[IntegerDigits[n, 2]]-1)]; %t A118958 Select[Prime[Range[100]], okQ] (* _Jean-François Alcover_, Feb 04 2023 *) %Y A118958 Cf. A118957, A091932, A156695. %Y A118958 Cf. A049084, A065381, A118953. %K A118958 nonn %O A118958 1,1 %A A118958 _Reinhard Zumkeller_, May 07 2006