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.

A268721 Convolution of A006068 (inverse of Gray code) with itself: a(n) = Sum_{k=1..n+1} A006068(k) * A006068(1+n-k).

This page as a plain text file.
%I A268721 #7 Feb 14 2016 14:57:04
%S A268721 0,1,6,13,26,58,72,107,160,230,286,440,558,599,696,851,1032,1298,1510,
%T A268721 1826,2122,2353,2624,3294,3884,4335,4870,5001,5242,5722,6048,6699,
%U A268721 7424,8226,8990,10166,11226,12069,13048,14384,15664,16885,18134,19071,20094,21276,22360,25150,27788,30091,32582,34343,36262
%N A268721 Convolution of A006068 (inverse of Gray code) with itself: a(n) = Sum_{k=1..n+1} A006068(k) * A006068(1+n-k).
%H A268721 Antti Karttunen, <a href="/A268721/b268721.txt">Table of n, a(n) for n = 0..1023</a>
%F A268721 a(n) = Sum_{k=1..n+1} A006068(k) * A006068(1+n-k).
%o A268721 (Scheme)
%o A268721 (define A268721 (CONVOLVE 1 A006068 A006068)) ;; This version requires _Antti Karttunen_'s IntSeq-library.
%o A268721 ;; More stand-alone version:
%o A268721 (define (A268721 n) (add (lambda (k) (* (A006068 k) (A006068 (- (+ n 1) k)))) 1 (+ n 1)))
%o A268721 (define (add intfun lowlim uplim) (let sumloop ((i lowlim) (res 0)) (cond ((> i uplim) res) (else (sumloop (1+ i) (+ res (intfun i)))))))
%Y A268721 Antidiagonal sums of array A268724.
%Y A268721 Cf. A006068
%K A268721 nonn
%O A268721 0,3
%A A268721 _Antti Karttunen_, Feb 13 2016