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.

A117708 Numbers that are both lucky numbers and Chen primes.

This page as a plain text file.
%I A117708 #14 May 10 2020 04:32:08
%S A117708 3,7,13,31,37,67,127,211,307,409,487,541,577,631,769,787,937,991,1009,
%T A117708 1039,1117,1201,1291,1459,1471,1567,1777,1801,2251,2281,2467,2557,
%U A117708 2647,2971,3037,3187,3259,3307,3559,3709,3847,3889,4441,4567,4801,4969,4987
%N A117708 Numbers that are both lucky numbers and Chen primes.
%H A117708 Amiram Eldar, <a href="/A117708/b117708.txt">Table of n, a(n) for n = 1..10000</a>
%t A117708 lst = Range[1, 5000, 2]; i = 2; While[ i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++ ]; chenQ[n_] := PrimeQ[n] && Plus @@ Last /@ FactorInteger[n + 2] < 3; Select[lst, chenQ@# &] (* _Robert G. Wilson v_, May 12 2006 *)
%Y A117708 Intersection of A000959 and A109611.
%Y A117708 Subsequence of A031157.
%K A117708 nonn
%O A117708 1,1
%A A117708 _Jani Melik_, Apr 27 2006
%E A117708 Corrected and extended by _Robert G. Wilson v_, May 12 2006