login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131810 Additive persistence of Catalan numbers. 1

%I #6 Dec 21 2017 04:38:01

%S 0,0,0,0,1,1,1,2,1,2,3,2,2,2,2,2,2,2,2,2,2,3,3,2,2,2,2,3,3,3,3,3,3,3,

%T 3,3,2,3,3,3,3,2,3,2,2,3,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,3,3,3,3,3,3,

%U 2,2,2,3,2,3,2,2,2,3,3,2,2,2,3,2,4,3,2,3

%N Additive persistence of Catalan numbers.

%e Catalan number 429 -> 4+2+9=15 -> 1+5=6 thus persistence is 2

%p with(numtheory): with(combinat): P:=proc(n) local a,t; t:=0; a:=(2*n)!/(n!*(n+1)!); while a>9 do t:=t+1; a:=convert(convert(a,base,10),`+`); od; t;

%p end: seq(P(i),i=0..10^2);

%Y Cf. A003001, A006050, A000108, A131809.

%K easy,nonn,base

%O 0,8

%A _Paolo P. Lava_ and _Giorgio Balzarotti_, Jul 18 2007

%E Corrected entries and Maple code by _Paolo P. Lava_, Dec 19 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)