login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081608 Number of numbers <= n having no 0 in their ternary representation. 5
0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 6, 6, 6, 7, 8, 8, 9, 10, 10, 10, 10, 10, 11, 12, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 17, 18, 18, 18, 18, 18, 19, 20, 20, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 24, 24, 25, 26, 26, 26, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

a(n) + A081607(n) = n+1.

LINKS

Table of n, a(n) for n=0..74.

PROG

(PARI) first(n)=my(s, t); vector(n, k, t=Set(digits(k, 3)); s+=!!t[1]) \\ Charles R Greathouse IV, Sep 02 2015

CROSSREFS

Cf. A007089, A077267, A061392, A081611.

Sequence in context: A333942 A065361 A089792 * A096532 A335380 A077773

Adjacent sequences:  A081605 A081606 A081607 * A081609 A081610 A081611

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Mar 23 2003

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 April 15 04:37 EDT 2021. Contains 342975 sequences. (Running on oeis4.)