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.

Showing 1-4 of 4 results.

A106285 Number of orbits of the 3-step recursion mod n.

Original entry on oeis.org

1, 4, 3, 12, 5, 12, 9, 44, 21, 20, 25, 36, 15, 66, 15, 172, 53, 84, 21, 60, 27, 144, 23, 132, 105, 116, 183, 482, 177, 60, 91, 684, 75, 420, 45, 252, 109, 162, 45, 220, 125, 198, 265, 520, 105, 92, 2259, 516, 359, 420, 159, 884, 2867, 732, 125, 3714, 63, 1408, 59, 180
Offset: 1

Views

Author

T. D. Noe, May 02 2005

Keywords

Comments

Consider the 3-step recursion x(k)=x(k-1)+x(k-2)+x(k-3) mod n. For any of the n^3 initial conditions x(1), x(2) and x(3) in Zn, the recursion has a finite period. Each of these n^3 vectors belongs to exactly one orbit. In general, there are only a few different orbit lengths (A106288) for each n. For instance, the orbits mod 8 have lengths of 1, 2, 4, 8, 16. Interestingly, for n=2^k and n=3^k, the number of orbits appear to be A039301 and A054879, respectively.

Examples

			Orbits for n=2: {(0,0,0)}, {(1,1,1)}, {(0,1,0), (1,0,1)} and {(0,0,1), (0,1,1), (1,1,0), (1,0,0)}
		

Crossrefs

Cf. A015134 (orbits of Fibonacci sequences), A106286 (orbits of 4-step sequences), A106287 (orbits of 5-step sequences), A106288 (number of different orbit lengths), A106307 (n producing a simple orbit structure).

A106287 Number of orbits of the 5-step recursion mod n.

Original entry on oeis.org

1, 8, 5, 96, 5, 56, 7, 1468, 203, 40, 11, 1312, 13, 56, 25, 23400, 17, 6392, 193, 480, 35, 88, 555, 37180, 2505, 104, 15539, 672, 293, 280, 151, 374292, 55, 136, 35, 199744, 37, 6128, 65, 7340, 41, 392, 1899, 1056, 1015, 6648, 313775, 627280, 14413, 20040, 85
Offset: 1

Views

Author

T. D. Noe, May 02 2005

Keywords

Comments

Consider the 5-step recursion x(k)=x(k-1)+x(k-2)+x(k-3)+x(k-4)+x(k-5) mod n. For any of the n^5 initial conditions x(1), x(2), x(3), x(4) and x(5) in Zn, the recursion has a finite period. Each of these n^5 vectors belongs to exactly one orbit. In general, there are only a few different orbit lengths (A106290). For instance, the 1468 orbits mod 8 have lengths of 1, 2, 3, 6, 12 and 24.

Crossrefs

Cf. A015134 (orbits of Fibonacci sequences), A106285 (orbits of 3-step sequences), A106286 (orbits of 4-step sequences), A106290 (number of different orbit lengths), A106309 (n producing a simple orbit structure).

A106289 Number of different orbit lengths of the 4-step recursion mod n.

Original entry on oeis.org

1, 2, 2, 3, 2, 4, 4, 4, 4, 4, 3, 5, 3, 8, 3, 5, 3, 8, 3, 5, 7, 4, 4, 7, 3, 6, 6, 9, 4, 6, 2, 6, 6, 6, 6, 10, 5, 6, 6, 6, 5, 14, 2, 6, 5, 8, 3, 9, 7, 4, 6, 7, 2, 12, 5, 12, 6, 7, 4, 7, 3, 4, 8, 7, 5, 8, 4, 7, 7, 12, 3, 14, 4, 10, 4, 8, 10, 12, 2, 7, 8, 6, 2, 15, 6, 3, 8, 8, 2, 10, 8, 9, 3, 6, 6, 11, 2, 14, 8
Offset: 1

Views

Author

T. D. Noe, May 02 2005

Keywords

Comments

Consider the 4-step recursion x(k)=x(k-1)+x(k-2)+x(k-3)+x(k-4) mod n. For any of the n^4 initial conditions x(1), x(2), x(3) and x(4) in Zn, the recursion has a finite period. Each of these n^4 vectors belongs to exactly one orbit. In general, there are only a few different orbit lengths for each n. For n=8, there are 4 different lengths: 1, 5, 10 and 20. The maximum possible length of an orbit is the period of the Fibonacci 4-step sequence mod n, which is essentially A106295(n).

Crossrefs

Cf. A106286 (orbits of 4-step sequences).

A106308 Primes that yield a simple orbit structure in 4-step recursions.

Original entry on oeis.org

2, 3, 5, 31, 43, 53, 79, 83, 89, 97, 109, 131, 137, 139, 151, 199, 229, 233, 239, 257, 283, 313, 317, 359, 367, 389, 433, 443, 479, 487, 569, 571, 577, 601, 617, 641, 643, 659, 673, 677, 769
Offset: 1

Views

Author

T. D. Noe, May 02 2005, revised May 12 2005

Keywords

Comments

Consider the 4-step recursion x(k) = (x(k-1) + x(k-2) + x(k-3) + x(k-4)) mod n. For any of the n^4 initial conditions x(1), x(2), x(3) and x(4) in Zn, the recursion has a finite period. When n is a prime in this sequence, all of the orbits, except the one containing (0,0,0,0), have the same length.
For the prime 3 the orbit structure contains three orbits of length 1: (0,0,0,0), (1,1,1,1) and (2,2,2,2).

Crossrefs

Cf. A106286 (orbits of 4-step sequences).
Showing 1-4 of 4 results.