Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A081603
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A081603 Number of 2's in ternary representation of n. +0
15
0, 0, 1, 0, 0, 1, 1, 1, 2, 0, 0, 1, 0, 0, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 2, 3, 0, 0, 1, 0, 0, 1, 1, 1, 2, 0, 0, 1, 0, 0, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 2, 1, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 4, 0, 0, 1, 0, 0, 1, 1, 1, 2, 0, 0, 1, 0, 0, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2 (list; graph; listen)
OFFSET

0,9

COMMENT

A081602(n) + A062756(n) + a(n) = A081604(n);

a(n) = (A053735(n) - A062756(n))/2.

LINKS

R. Zumkeller, Table of n, a(n) for n = 0..10000

Eric Weisstein's World of Mathematics, Ternary.

FORMULA

a(n) = if n<3 then [n/2] else a([n/3]) + [(n mod 3)/2].

CROSSREFS

Cf. A007089, A074940, A005836, A081610, A081611.

Sequence in context: A112607 A091970 A093955 this_sequence A103612 A083913 A023670

Adjacent sequences: A081600 A081601 A081602 this_sequence A081604 A081605 A081606

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Mar 23 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research