A262564 A politician's answer to the question "What comes next after 2,3,5?".
2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75
Offset: 1
Keywords
Links
- E. R. Berlekamp, A contribution to mathematical psychometrics, Unpublished Bell Labs Memorandum, Feb 08 1968 [Annotated scanned copy]
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Crossrefs
Cf. A262565.
Programs
-
Haskell
a262564 n = a262564_list !! (n-1) a262564_list = [2, 3, 5, 4] ++ [6..] -- Reinhard Zumkeller, Oct 20 2015
-
Mathematica
CoefficientList[Series[(- x^5 + 3 x^4 - 3 x^3 + x^2 - x + 2)/(x - 1)^2, {x, 0, 75}], x] (* Vincenzo Librandi, Nov 04 2016 *) LinearRecurrence[{2,-1},{2,3,5,4,6,7},80] (* Harvey P. Dale, Jul 31 2021 *)
Formula
G.f.: x*(-x^5 + 3*x^4 - 3*x^3 + x^2 - x + 2)/(x - 1)^2. - Chai Wah Wu, Nov 03 2016
Comments