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.

A049495 a(n) and a(n)+4^k are primes at least for k=1,2,3,4,5.

This page as a plain text file.
%I A049495 #10 Aug 09 2017 23:12:06
%S A049495 7,37,163,9157,9277,15667,53593,56893,111577,135193,137383,142543,
%T A049495 305407,467527,470647,476023,480043,527377,607093,671353,761377,
%U A049495 817147,885943,891643,904663,1080073,1116637,1140847,1172803,1233523
%N A049495 a(n) and a(n)+4^k are primes at least for k=1,2,3,4,5.
%H A049495 Michael De Vlieger, <a href="/A049495/b049495.txt">Table of n, a(n) for n = 1..1000</a>
%e A049495 7, 7+4=11, 7+16=23, 7+64=71, 7+256=263, 7+1024=1031 are all primes; the smallest such a sextuple is {7,11,23,71,263,1031}.
%t A049495 Select[Prime@ Range[10^5], Function[p, AllTrue[Range@ 5, PrimeQ[p + 4^#] &]]] (* _Michael De Vlieger_, Aug 09 2017 *)
%o A049495 (PARI) isok(n) = isprime(n) && isprime(n+4) && isprime(n+16) && isprime(n+64) && isprime(n+256) && isprime(n+1024); \\ _Michel Marcus_, Dec 22 2013
%Y A049495 Cf. A023200, A049492-A049494, A049496-A049500.
%K A049495 nonn
%O A049495 1,1
%A A049495 _Labos Elemer_