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!)
A190593 Maximal digit in base-4 expansion of n. 2

%I #9 Jul 19 2020 04:04:01

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

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

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

%N Maximal digit in base-4 expansion of n.

%o (PARI) a(n) = if (n, vecmax(digits(n, 4)), 0); \\ _Michel Marcus_, Jul 19 2020

%Y Cf. A007090, A054055.

%K base,nonn

%O 0,3

%A _N. J. A. Sloane_, May 13 2011

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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)