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.

A117643 a(n) = n*(a(n-1)-1) starting with a(0)=3.

This page as a plain text file.
%I A117643 #17 Jan 01 2024 11:44:51
%S A117643 3,2,2,3,8,35,204,1421,11360,102231,1022300,11245289,134943456,
%T A117643 1754264915,24559708796,368395631925,5894330110784,100203611883311,
%U A117643 1803665013899580,34269635264092001,685392705281840000
%N A117643 a(n) = n*(a(n-1)-1) starting with a(0)=3.
%C A117643 Starting with a(0)=0 would give -A007526(n); starting with a(0)=1 would give -A038156(n). In general, for this recurrence, a(n) = ceiling(1 + n!*(a(0)-e)) for n>0; this is the first case with positive terms.
%F A117643 a(n) = ceiling(1 + n!*(3-e)) for n>0.
%F A117643 a(n) = n! - floor(e*n!) + 1, n>0. - _Gary Detlefs_, Jun 06 2010
%e A117643 a(5) = 5*(a(4)-1) = 5*(8-1) = 35.
%t A117643 a=3;Table[a=a*n-n,{n,1,2*4!}] (* _Vladimir Joseph Stephan Orlovsky_, Apr 22 2010 *)
%t A117643 RecurrenceTable[{a[0]==3,a[n]==n(a[n-1]-1)},a,{n,20}] (* _Harvey P. Dale_, Jul 17 2018 *)
%K A117643 easy,nonn
%O A117643 0,1
%A A117643 _Henry Bottomley_, Apr 10 2006