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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193760 Replace 3^i with n^i in ternary representation of n. 1
1, 2, 3, 5, 7, 12, 15, 18, 81, 101, 123, 156, 183, 212, 255, 289, 325, 648, 723, 802, 903, 991, 1083, 1200, 1301, 1406, 19683, 21953, 24391, 27030, 29823, 32802 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..32.

MAPLE

A193760 := proc(n) nb3 := convert(n, base, 3) ; add(op(i, nb3)*n^(i-1), i=1..nops(nb3)) ; end proc: seq(A193760(n), n=1..40) ; # R. J. Mathar, Aug 05 2011

PROG

(Sage) def A193760(n): return sum(d*n**i for i, d in enumerate(n.digits(base=3))) # [D. S. McNeil, Aug 05 2011]

CROSSREFS

Cf. A104258 for the sequence formed by the binary rather than ternary numbers

Sequence in context: A100036 A179781 A022438 * A113623 A078912 A105930

Adjacent sequences:  A193757 A193758 A193759 * A193761 A193762 A193763

KEYWORD

nonn,base

AUTHOR

John Frye, Aug 04 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 20 02:19 EDT 2013. Contains 226416 sequences.