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.

A346658 Number of permutations of {0, 1, ..., n} that start with 0 and have pairwise distinct differences between adjacent terms.

This page as a plain text file.
%I A346658 #12 Aug 02 2021 01:19:21
%S A346658 1,1,1,3,7,27,94,425,2100,12252,79865,576220,4532457,38657929,
%T A346658 354600915,3485914368,36545825768,407149542540
%N A346658 Number of permutations of {0, 1, ..., n} that start with 0 and have pairwise distinct differences between adjacent terms.
%C A346658 a(n) <= A131529(n).
%o A346658 (PARI) { A346658(n) = my(q,r=0); forperm(n,p, q=vector(n,i,p[i]-if(i>1,p[i-1])); r+=(#vecsort(q,,8)==n); ); r; }
%Y A346658 Cf. A131529.
%K A346658 more,nonn
%O A346658 0,4
%A A346658 _Max Alekseyev_, Jul 27 2021
%E A346658 a(14)-a(17) from _Martin Ehrenstein_, Aug 01 2021