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.

A081494 Start with Pascal's triangle; form a triangle by sliding down n steps from top on both sides and including the horizontal row, deleting the inner numbers; a(n) = sum of entries on perimeter of triangle.

This page as a plain text file.
%I A081494 #12 Jun 25 2022 21:43:27
%S A081494 1,3,7,13,23,41,75,141,271,529,1043,2069,4119,8217,16411,32797,65567,
%T A081494 131105,262179,524325,1048615,2097193,4194347,8388653,16777263,
%U A081494 33554481,67108915,134217781,268435511,536870969,1073741883,2147483709
%N A081494 Start with Pascal's triangle; form a triangle by sliding down n steps from top on both sides and including the horizontal row, deleting the inner numbers; a(n) = sum of entries on perimeter of triangle.
%F A081494 For n > 1, a(n) = A061761(n-1). - _David Wasserman_, Jun 03 2004
%e A081494 The triangle pertaining to n = 4 is obtained from the solid triangle
%e A081494         1
%e A081494       1   1
%e A081494     1   2   1
%e A081494   1   3   3   1
%e A081494 giving
%e A081494         1
%e A081494       1   1
%e A081494     1       1
%e A081494   1   3   3   1
%e A081494 and the sum of all the numbers is 13, so a(4) = 13.
%p A081494 restart:a:= proc(n) option remember; if n=0 then 1 else add((binomial (n,j)+2), j=0..n-1) fi end: seq (a(n), n=0..31); # _Zerinvary Lajos_, Mar 29 2009
%Y A081494 Cf. A081495, A081496, A081497.
%Y A081494 First differences of A290707.
%K A081494 nonn
%O A081494 1,2
%A A081494 _Amarnath Murthy_, Mar 25 2003
%E A081494 Corrected and extended by _David Wasserman_, Jun 03 2004