Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135689
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135689 a(i) = if [mod[i, 2] == 0 then a(i - 2) - (a(Floor[i/2]) - a(Abs[Floor[i/2] - 1])), otherwise a[i - 1] - (a(Abs[Floor[i/2] - 2)] - a(Abs[Floor[i/2] - 3]))]. +0
1
0, 1, -1, -2, 1, 2, 2, 1, -1, 1, -2, -1, -2, -5, -1, -2, 1, 1, -1, 0, 2, 4, 1, -1, 2, 5, 5, 4, 1, 2, 2, 5, -1, -5, -1, 0, 1, -2, 0, 0, -2, 0, -4, -5, -1, -3, 1, -1, -2, 1, -5, -3, -5, -8, -4, -7, -1, -1, -2, -1, -2, 1, -5, -6, 1, 1, 5, 2, 1, 7, 0, 4, -1, -5, 2, 1, 0, -1, 0, 3, 2, 0, 0, 0, 4, 6, 5, 3, 1, 5, 3, 4, -1, -5, 1, 3, 2, -2, -1, 1, 5 (list; graph; listen)
OFFSET

0,4

COMMENT

Recursion based on J. Mortensen's programming page for Per Norgard's "infinite series" music composition sequence technique.

The composer Per Norgard's name is also written in the OEIS as Per Noergaard.

LINKS

J. Mortensen, Per Norgard recursion programming

MATHEMATICA

p[0] = 0; p[1] = 1; p[2] = -1; p[3] = -2; p[i_] := p[i] = If[Mod[i, 2] == 0, p[i - 2] - (p[Floor[i/2]] - p[Abs[Floor[i/2] - 1]]), p[i - 1] - (p[Abs[Floor[i/2] - 2]] - p[Abs[Floor[i/2] - 3]])]; b = Table[p[n], {n, 0, 100}]

CROSSREFS

Sequence in context: A156263 A109672 A025917 this_sequence A029438 A081592 A085028

Adjacent sequences: A135686 A135687 A135688 this_sequence A135690 A135691 A135692

KEYWORD

sign

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Feb 19 2008

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Mar 03 2008

page 1

Search completed in 0.004 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 December 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research