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.

A127007 a(n) = number of n-digit terms in A108571.

This page as a plain text file.
%I A127007 #7 May 20 2013 02:51:53
%S A127007 1,1,4,5,16,82,169,541,2272,17965,44407,201751,801515,4890886,
%T A127007 52218595,165519640,835947970,4290442728,24096524166,179566203960,
%U A127007 2739764737710,9938147178960,60997160143920,331360222255920,2154105076695000
%N A127007 a(n) = number of n-digit terms in A108571.
%C A127007 First 9 terms coincide with terms in A007837. Sum of all 45 terms gives the total number of terms in A108571: 66712890763701234740813164553708284.
%H A127007 Zak Seidov, <a href="/A127007/b127007.txt">Table of n, a(n) for n = 1..45.</a>
%t A127007 a[n_, w_:{0}] := If[n == 0, Total[w]!/Times @@ (w!), Sum[a[n-k, Append[w, k]], {k, 1 + Last@w, Min[9, n]}]]; Array[a, 45] (* _Giovanni Resta_, May 19 2013 *)
%Y A127007 Cf. A007837, A108571.
%K A127007 base,nonn
%O A127007 1,3
%A A127007 _Zak Seidov_, Jan 02 2007