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.

A190596 Maximal digit in base-7 expansion of n.

This page as a plain text file.
%I A190596 #11 May 03 2024 14:24:27
%S A190596 0,1,2,3,4,5,6,1,1,2,3,4,5,6,2,2,2,3,4,5,6,3,3,3,3,4,5,6,4,4,4,4,4,5,
%T A190596 6,5,5,5,5,5,5,6,6,6,6,6,6,6,6,1,1,2,3,4,5,6,1,1,2,3,4,5,6,2,2,2,3,4,
%U A190596 5,6,3,3,3,3,4,5,6,4,4,4,4,4,5,6,5,5,5,5,5,5,6,6,6,6,6,6,6,6,2,2,2,3,4,5,6
%N A190596 Maximal digit in base-7 expansion of n.
%H A190596 Paolo Xausa, <a href="/A190596/b190596.txt">Table of n, a(n) for n = 0..10000</a>
%t A190596 Map[Max, IntegerDigits[Range[0, 100], 7]] (* _Paolo Xausa_, May 03 2024 *)
%o A190596 (PARI) a(n) = if (n, vecmax(digits(n, 7)), 0); \\ _Michel Marcus_, Jul 19 2020
%Y A190596 Cf. A007093, A054055.
%K A190596 nonn,base
%O A190596 0,3
%A A190596 _N. J. A. Sloane_, May 13 2011