This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A054977 a(0)=2, a(n)=1, n >= 1. 27
 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS Arises in Gilbreath-Proth conjecture - see A036262. a(n) is also the continued fraction for (3+sqrt(5))/2. - Enrique Pérez Herrero, May 16 2010 a(n) is also the denominator for odd Bernoulli Numbers. - Enrique Pérez Herrero, Jul 17 2010 a(n) = 3 - A040000(n); a(n) = A182579(n+1,1). - Reinhard Zumkeller, May 07 2012 From Paul Curtz, Feb 04 2014: (Start) Difference table of a(n): 2,  1, 1, 1, 1, 1, 1,... -1, 0, 0, 0, 0, 0, 0,... 1,  0, 0, 0, 0, 0, 0,,,, -1, 0, 0, 0, 0, 0, 0,... 1,  0, 0, 0, 0, 0, 0,... -1, 0, 0, 0, 0, 0, 0,... . a(n) is an autosequence of second kind. Its inverse binomial transform is the signed sequence with the main diagonal (here A000038) double of the following diagonal (here A000007). Here the other diagonals are also A000007. b(n) = A000032(n) - a(n)=0, 0, 2, 3, 6, 10, 17, 28,... =0, followed by A001610(n) is the autosequence of second kind preceding A000032(n). The corresponding autosequence of first kind, 0 followed by (1's=A000012), is not in the OEIS. See A178334(n). The Akiyama-Tanigawa transform applied to a(n) yields a(n). (End) LINKS Daniele A. Gewurz and Francesca Merola, Sequences realized as Parker vectors of oligomorphic permutation groups, J. Integer Seqs., Vol. 6, 2003. Eric Weisstein's World of Mathematics, Harmonic Expansion FORMULA a(n) = A027642(2n+1). - Enrique Pérez Herrero, Jul 17 2010 G.f.: (2-x)/(1-x). - Wolfdieter Lang, Oct 05 2014 MATHEMATICA A054977[1]:=2; A054977[n_]:=1; (* Enrique Pérez Herrero, May 16 2010 *) PadRight[{2}, 120, {1}] (* Harvey P. Dale, Mar 30 2018 *) PROG (Haskell) a054977 0 = 2; a054977 n = 1 a054977_list = 2 : repeat 1  -- Reinhard Zumkeller, May 07 2012 (PARI) a(n)=if(n, 1, 2) \\ Charles R Greathouse IV, Mar 23 2016 CROSSREFS Cf. A036262, A054978, A027642, A002445, A174419. Sequence in context: A299202 A194337 A299912 * A272901 A078315 A288120 Adjacent sequences:  A054974 A054975 A054976 * A054978 A054979 A054980 KEYWORD nonn,easy,mult AUTHOR Henry Gould, May 29 2000 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.

Last modified May 23 16:16 EDT 2018. Contains 304483 sequences. (Running on oeis4.)