Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A038196
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A038196 3-wave sequence starting with 1, 1, 1. +0
9
1, 1, 1, 2, 3, 5, 6, 11, 14, 25, 31, 56, 70, 126, 157, 283, 353, 636, 793, 1429, 1782, 3211, 4004, 7215, 8997, 16212, 20216, 36428, 45425, 81853, 102069, 183922, 229347, 413269, 515338, 928607, 1157954, 2086561, 2601899, 4688460, 5846414 (list; graph; listen)
OFFSET

0,4

COMMENT

The 3-wave sequence with initial values a, b, c is formed by the following construction:

a.......a+b+c............3a+5b+6c...

..b...b+c...a+2b+2c..2a+4b+5c...

....c..........a+2b+3c...

REFERENCES

J. Kappraff, Beyond Measure, World Scientific, Inc. 2002, p. 497.

LINKS

F. v. Lamoen, Wave sequences

FORMULA

a(n)=a(n-1)+a(n-2) if n is odd, a(n)=a(n-1)+a(n-4) if n is even. Also: a(n)=2a(n-2)+a(n-4)-a(n-6).

G.f.: (1+x-x^2)/(1-2x^2-x^4+x^6).

PROGRAM

(PARI) a(n)=if(n>-1, polcoeff((1+x-x^2)/(1-2*x^2-x^4+x^6)+x*O(x^n), n), if(n<-3, polcoeff((1-x-x^2)/(1-x^2-2*x^4+x^6)+O(x^(-3-n)), -4-n), 0))

CROSSREFS

a(2n) forms A006356, a(2n+1)("the middle row") forms A006054. Cf. A038197, A038201.

Sequence in context: A132581 A039839 A039844 this_sequence A039849 A039896 A034407

Adjacent sequences: A038193 A038194 A038195 this_sequence A038197 A038198 A038199

KEYWORD

easy,nonn

AUTHOR

Floor van Lamoen (fvlamoen(AT)hotmail.com)

EXTENSIONS

Edited by Floor van Lamoen (fvlamoen(AT)hotmail.com), Feb 05 2002

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research