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 A160940 #3 Sep 08 2022 08:45:45 %S A160940 2,10,95,86,2063,26338,1796701,37907460,1121781743,624173160, %T A160940 301508365839,448445587666,90026771795043,1998858898554, %U A160940 406702125332939256247,78594656763841284,186966120412500951787 %N A160940 Row sums of triangle defined in A083809. %e A160940 Fourth row is 5, 11, 23, 47, so a(4) = 86. %o A160940 (Magma) f:=function(n) m:=1; while not IsPrime(m*n+1) do m+:=1; end while; return m*n+1; end function; [ &+[ k eq 1 select f(j) else f(Self(k-1)): k in [1..j] ]: j in [1..17] ]; %Y A160940 Cf. A083809, A083810. %K A160940 nonn %O A160940 1,1 %A A160940 _Klaus Brockhaus_, May 30 2009