login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105397 Periodic with period 2: repeat [4,2]. 13

%I #37 Aug 17 2020 22:44:17

%S 4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,

%T 4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,

%U 4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2

%N Periodic with period 2: repeat [4,2].

%C A simple "Fractal Jump Sequence" (FJS). An FJS is a sequence of digits containing an infinite number of copies of itself. Modus operandi: underline the first digit "a" of such a sequence then jump over the next "a" digits and underline the digit "b" on which you land. Jump from there over the next "b" digits and underline the digit "c" on which you land. Etc. The "abc...n..." succession of underlined digits is the sequence itself.

%C Simple continued fraction of 2+sqrt(6). - _R. J. Mathar_, Nov 21 2011

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).

%F a(n) = 3 + (-1)^n = 4 - 2*(n mod 2) = 2 * 2^((n+1) mod 2). - _Wesley Ivan Hurt_, Mar 14 2014

%p A105397:=n->3 + (-1)^n; seq(A105397(n), n=0..100); # _Wesley Ivan Hurt_, Mar 14 2014

%t Table[3 + (-1)^n, {n, 0, 100}] (* _Wesley Ivan Hurt_, Mar 14 2014 *)

%t LinearRecurrence[{0, 1},{4, 2},75] (* _Ray Chandler_, Aug 25 2015 *)

%o (PARI) contfrac(2+sqrt(6)) \\ _Michel Marcus_, Mar 18 2014

%Y Cf. A010694 (period 2, repeat [2,4]).

%Y First differences of A007310. - _Fred Daniel Kline_, Aug 17 2020

%K easy,nonn

%O 0,1

%A _Eric Angelini_, May 01 2005

%E Edited by _N. J. A. Sloane_, Jun 08 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)