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!)
A131840 Additive persistence of Cullen numbers. 1

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

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

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

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

%N Additive persistence of Cullen numbers.

%e Cullen number 385 --> 3+8+5=16 -->1+6=7 thus persistence is 2

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

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

%Y Cf. A002064, A131837.

%K easy,nonn,base

%O 1,4

%A _Paolo P. Lava_ and _Giorgio Balzarotti_, Jul 20 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 March 19 03:33 EDT 2024. Contains 370952 sequences. (Running on oeis4.)