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!)
A081608 Number of numbers <= n having no 0 in their ternary representation. 6
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
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
Sequence in context: A333942 A065361 A089792 * A096532 A335380 A077773
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)