Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124502
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124502 See Maple code for recurrence. +0
2
1, 1, 2, 3, 5, 9, 14, 23, 37, 60, 98, 158, 256, 414, 670, 1085, 1755, 2840, 4595, 7435, 12031, 19466, 31497, 50963, 82460, 133424, 215884, 349308, 565192, 914500, 1479693, 2394193, 3873886, 6268079, 10141965, 16410045, 26552010, 42962055, 69514065, 112476120 (list; graph; listen)
OFFSET

1,3

FORMULA

O.g.f.: x/((1-x)(x^4+x^3+x^2+x+1)(1-x-x^2)) . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 30 2008

MAPLE

f:=proc(n) option remember; local t1; if n <= 2 then RETURN(1); fi: if n mod 5 = 1 then t1:=1 else t1:=0; fi: f(n-1)+f(n-2)+t1; end; [seq(f(n), n=1..100)]; - njas, May 25 2008

CROSSREFS

Cf. A052952, A004695, A080239, A131132.

Sequence in context: A076027 A056686 A079962 this_sequence A026746 A004699 A018155

Adjacent sequences: A124499 A124500 A124501 this_sequence A124503 A124504 A124505

KEYWORD

nonn

AUTHOR

njas, May 25 2008

EXTENSIONS

Typo in Maple code corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 30 2008

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research