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 A208325 #6 Mar 30 2012 18:36:00 %S A208325 2,23,29,41,47,83,113,163,167,173,191,223,233,251,257,263,269,293,307, %T A208325 337,347,353,373,383,419,461,503,587,593,599,631,659,673,683,719,761, %U A208325 797,839,853,881,1009,1013,1049,1091,1129,1163,1187,1217,1259,1283,1289 %N A208325 Primes p such that all p-k!! are composite for 1<=k!!<p. %e A208325 29 is in the sequence because : %e A208325 29 - 0!! = 29 - 1 = 28; %e A208325 29 - 1!! = 29 - 1 = 28; %e A208325 29 - 2!! = 29 - 2 = 27; %e A208325 29 - 3!! = 29 - 3 = 26; %e A208325 29 - 4!! = 29 - 8 = 21; %e A208325 29 - 5!! = 29 - 15 = 14 is the last composite because 6!! = 48 > 29. %p A208325 with(numtheory): for n from 1 to 250 do:p:=ithprime(n):i:=0:for k from 0 to p while (doublefactorial(k)<p) do:x:=p - doublefactorial(k):if type(x,prime)=true then i:=1:else fi:od:if i=0 then printf(`%d, `,p):else fi:od: %Y A208325 Cf. A064152, A006882. %K A208325 nonn,easy %O A208325 0,1 %A A208325 _Michel Lagneau_, Feb 25 2012