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!)
A094115 Partial sums of A093347. 0
0, 1, 1, 4, 6, 9, 9, 10, 10, 19, 27, 36, 42, 49, 55, 64, 72, 81, 81, 82, 82, 85, 87, 90, 90, 91, 91, 118, 144, 171, 195, 220, 244, 271, 297, 324, 342, 361, 379, 400, 420, 441, 459, 478, 496, 523, 549, 576, 600, 625, 649, 676, 702, 729, 729, 730, 730, 733, 735, 738, 738 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

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

FORMULA

a(3^k)=(9^k-1)/8

PROG

(PARI) a(n)=sum(k=1, n, -sum(i=1, k-1, (-1)^i*3^valuation(i, 3)))

CROSSREFS

Sequence in context: A197575 A201660 A341577 * A339856 A163297 A051679

Adjacent sequences:  A094112 A094113 A094114 * A094116 A094117 A094118

KEYWORD

nonn

AUTHOR

Benoit Cloitre, May 03 2004

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 August 5 20:08 EDT 2021. Contains 346488 sequences. (Running on oeis4.)