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!)
A033640 Base 3 digital convolution sequence. 3
1, 1, 2, 1, 3, 7, 6, 20, 52, 6, 26, 104, 32, 162, 460, 356, 1438, 4048, 712, 3588, 15272, 5012, 27460, 90476, 64944, 300816, 912472, 90476, 155420, 611656, 1067892, 1770024, 4763360, 4151704, 14746316, 39566064, 8915064, 27813084, 109938548, 76294212, 222960908 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
Suppose base = 3 and a(0)..a(13) are 1 1 2 1 3 7 6 20 52 6 26 104 32 162. In base 3, 14 = 112, so we convolve the last three terms with 1, 1, 2 to obtain 104*1+32*1+162*2 = 460.
MAPLE
a:= proc(n) option remember; `if`(n=0, 1, (l->
add(l[i]*a(n-i), i=1..nops(l)))(convert(n, base, 3)))
end:
seq(a(n), n=0..40); # Alois P. Heinz, Apr 14 2021
CROSSREFS
Sequence in context: A286616 A019320 A201615 * A112027 A174400 A178079
KEYWORD
base,nonn
AUTHOR
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 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)