Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118816
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118816 A fractal sequence based upon powers of 3. +0
1
1, 0, 1, 1, 1, 0, 2, 2, 1, 3, 3, 1, 4, 4, 1, 5, 5, 0, 6, 6, 2, 7, 7, 2, 8, 8, 1, 9, 9, 3, 10, 10, 3, 11, 11, 1, 12, 12, 4, 13, 13, 4, 14, 14, 1, 15, 15, 5, 16, 16, 5, 17, 17, 0, 18, 18, 6, 19, 19, 6, 20, 20, 2, 21, 21, 7, 22, 22, 7, 23, 23, 2, 24, 24, 8, 25, 25, 8, 26, 26, 1, 27, 27, 9, 28, 28 (list; graph; listen)
OFFSET

1,7

COMMENT

Zeros occur at A008776, or 2*3^(k-1), k > 0.

LINKS

Index entries for sequences related to "fractals"

FORMULA

a((3n-2)/3) = A028310(n), a((3n-1)/3) =A001477 & a(3n)=a(n), thus this sequence is a fractal.

MATHEMATICA

a[1] = 1; a[n_] := Switch[ Mod[n, 3], 0, a[n/3], 1, (n - 1)/3, 2, (n - 2)/3]; Array[a, 90]

CROSSREFS

Cf. A003602, A101279.

Sequence in context: A144112 A104660 A093613 this_sequence A097289 A114115 A126268

Adjacent sequences: A118813 A118814 A118815 this_sequence A118817 A118818 A118819

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), May 23 2006

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research