cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A065187 "Greedy Dragons" permutation of the natural numbers, inverse of A065186.

This page as a plain text file.
%I A065187 #11 Oct 23 2017 22:24:30
%S A065187 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,
%T A065187 29,27,30,28,31,34,32,35,33,36,39,37,40,38,41,44,42,45,43,46,49,47,50,
%U A065187 48,51,54,52,55,53,56,59,57,60,58,61,64,62,65,63,66,69,67,70,68,71,74
%N A065187 "Greedy Dragons" permutation of the natural numbers, inverse of A065186.
%H A065187 Michael De Vlieger, <a href="/A065187/b065187.txt">Table of n, a(n) for n = 1..10000</a>
%H A065187 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A065187 From _Chai Wah Wu_, Oct 23 2017: (Start)
%F A065187 a(1) = 1, a(2) = 4, a(3) = 2, a(4) = 5, a(5) = 3; for n > 5, a(n) = a(n-5) + 5.
%F A065187 a(n) = a(n-1) + a(n-5) - a(n-6) for n > 6.
%F A065187 G.f.: x*(2*x^5 - 2*x^4 + 3*x^3 - 2*x^2 + 3*x + 1)/((x - 1)*(x^5 - 1)). (End)
%t A065187 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 *)
%K A065187 nonn
%O A065187 1,2
%A A065187 _Antti Karttunen_, Oct 19 2001