login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A290825 Least base-3 digit of n. 2
0, 1, 2, 0, 1, 1, 0, 1, 2, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Robert Israel, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = 2 if and only if n > 0 is in A024023.

a(n) = 0 if n is divisible by 3.

a(n) = min(A010872(n), a(A002264(n))).

EXAMPLE

11 = 102_3 so a(11)=0.

MAPLE

seq(min(convert(n, base, 3)), n=0..100);

MATHEMATICA

Table[Min[IntegerDigits[n, 3]], {n, 0, 120}] (* Harvey P. Dale, Dec 19 2017 *)

PROG

(PARI) a(n) = if (n==0, 0, vecmin(digits(n, 3))); \\ Michel Marcus, Aug 12 2017

CROSSREFS

Cf. A002264, A010872, A024023, A037897, A190592.

Sequence in context: A096863 A117210 A060277 * A204688 A101672 A083731

Adjacent sequences:  A290822 A290823 A290824 * A290826 A290827 A290828

KEYWORD

nonn,base

AUTHOR

Robert Israel, Aug 11 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 19:58 EDT 2019. Contains 321293 sequences. (Running on oeis4.)