This site is supported by donations to The OEIS Foundation.

 Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A065187 "Greedy Dragons" permutation of the natural numbers, inverse of A065186. 5
 1, 4, 2, 5, 3, 6, 9, 7, 10, 8, 11, 14, 12, 15, 13, 16, 19, 17, 20, 18, 21, 24, 22, 25, 23, 26, 29, 27, 30, 28, 31, 34, 32, 35, 33, 36, 39, 37, 40, 38, 41, 44, 42, 45, 43, 46, 49, 47, 50, 48, 51, 54, 52, 55, 53, 56, 59, 57, 60, 58, 61, 64, 62, 65, 63, 66, 69, 67, 70, 68, 71, 74 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Michael De Vlieger, Table of n, a(n) for n = 1..10000 FORMULA From Chai Wah Wu, Oct 23 2017: (Start) a(1) = 1, a(2) = 4, a(3) = 2, a(4) = 5, a(5) = 3; for n > 5, a(n) = a(n-5) + 5. a(n) = a(n-1) + a(n-5) - a(n-6) for n > 6. G.f.: x*(2*x^5 - 2*x^4 + 3*x^3 - 2*x^2 + 3*x + 1)/((x - 1)*(x^5 - 1)). (End) MATHEMATICA Rest@ CoefficientList[Series[x (2 x^5 - 2 x^4 + 3 x^3 - 2 x^2 + 3 x + 1)/((x - 1) (x^5 - 1)), {x, 0, 72}], x] (* Michael De Vlieger, Oct 23 2017 *) CROSSREFS Sequence in context: A123152 A243855 A267185 * A185511 A199855 A127914 Adjacent sequences:  A065184 A065185 A065186 * A065188 A065189 A065190 KEYWORD nonn AUTHOR Antti Karttunen, Oct 19 2001 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}