[go: up one dir, main page]

login
Revision History for A244892 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(n) = a(n-a(n-1)) with initial values 5,2,5,2.
(history; published version)
#7 by Ray Chandler at Tue Aug 25 17:31:29 EDT 2015
STATUS

editing

approved

#6 by Ray Chandler at Tue Aug 25 17:31:25 EDT 2015
LINKS

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

MATHEMATICA

LinearRecurrence[{0, 0, 0, 0, 1}, {5, 2, 5, 2, 5}, 76] (* Ray Chandler, Aug 25 2015 *)

STATUS

approved

editing

#5 by N. J. A. Sloane at Thu Jul 17 19:37:47 EDT 2014
STATUS

editing

approved

#4 by N. J. A. Sloane at Thu Jul 17 19:37:44 EDT 2014
REFERENCES

S. W. Golomb, Discrete chaos: sequences satisfying "strange" recursions, unpublished, circa 1993.

LINKS

S. W. Golomb, <a href="/A005185/a005185_1.pdf">Discrete chaos: sequences satisfying "strange" recursions</a>, unpublished manuscript, circa 1990 [cached copy, with permission (annotated)]

STATUS

approved

editing

#3 by N. J. A. Sloane at Thu Jul 17 13:36:35 EDT 2014
STATUS

editing

approved

#2 by N. J. A. Sloane at Thu Jul 17 13:36:32 EDT 2014
NAME

allocated for N. J. A. Sloane

a(n) = a(n-a(n-1)) with initial values 5,2,5,2.

DATA

5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5, 2, 5, 2, 5, 5

OFFSET

0,1

COMMENTS

Periodic with period (5,2,5,2,5).

REFERENCES

S. W. Golomb, Discrete chaos: sequences satisfying "strange" recursions, unpublished, circa 1993.

MAPLE

f:=proc(n, o, S) option remember; # o = offset, S = init. terms

L:=nops(S);

if n < 0 then 0

elif n <= o+L-1 then S[n-o+1]

else f(n-f(n-1, o, S), o, S); fi; end;

[seq(f(n, 0, [5, 2, 5, 2]), n=0..100)];

KEYWORD

allocated

nonn

AUTHOR

N. J. A. Sloane, Jul 17 2014

STATUS

approved

editing

#1 by N. J. A. Sloane at Mon Jul 07 15:29:47 EDT 2014
NAME

allocated for N. J. A. Sloane

KEYWORD

allocated

STATUS

approved