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.

A026452 a(n) = least positive integer > a(n-1) and not a(i)*a(j)+2 for i<=1<=j<=n.

This page as a plain text file.
%I A026452 #8 Mar 06 2016 05:31:57
%S A026452 3,4,5,6,7,8,9,10,12,13,15,16,19,21,24,25,28,31,33,35,36,39,40,43,45,
%T A026452 46,48,49,53,55,57,60,61,63,64,68,69,70,71,73,75,76,79,81,84,85,87,88,
%U A026452 89,90,91,94,96,99,100,103,104,105,108,109
%N A026452 a(n) = least positive integer > a(n-1) and not a(i)*a(j)+2 for i<=1<=j<=n.
%H A026452 Ivan Neretin, <a href="/A026452/b026452.txt">Table of n, a(n) for n = 1..1000</a>
%t A026452 a = {3, 4}; used = {a[[1]]^2 + 2, a[[1]]*a[[2]] + 2, a[[2]]^2 + 2}; Do[k = a[[-1]] + 1; While[MemberQ[used, k], k++]; AppendTo[a, k]; used = Union[used, k*a + 2], {n, 3, 60}]; a (* _Ivan Neretin_, Mar 06 2016 *)
%Y A026452 Cf. A026443 and references therein.
%K A026452 nonn
%O A026452 1,1
%A A026452 _Clark Kimberling_