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.
%I A291293 #17 Oct 23 2018 02:38:36 %S A291293 2,3,2,0,0,2,0,0,3,1,1,3,1,1,2,2,4,4,0,0,1,3,4,2,0,3,2,4,0,1,3,3,1,3, %T A291293 0,2,4,2,4,1,2,3,1,3,0,2,1,2,1,0,3,3,0,0,0,4,4,4,3,1,2,1,2,1,1,2,3,2, %U A291293 1,1,0,3,1,1,4,2,3,4,1,4,3,3,1,3,0 %N A291293 Sequence mod 5 defined by Baldini-Eschgfäller coupled dynamical system (f,lambda,alpha) with f(k) = A000203(k)-1, lambda(y) = 3y+2 mod 5 for y in Y = {0,1,2,3,4}, and alpha(k) = k mod 5 for k in Omega = {primes}. %C A291293 This sequence assumes that the Erdos conjecture is true, that iterating k -> sigma(k)-1 always reaches a prime (cf. A039654). %H A291293 Lucilla Baldini, Josef Eschgfäller, <a href="http://arxiv.org/abs/1609.01750">Random functions from coupled dynamical systems</a>, arXiv preprint arXiv:1609.01750 [math.CO], 2016. See Example 3.6. %F A291293 Let f(k) = A000203(k)-1 = sigma(k) - 1, lambda(y) = 3y+2 mod 5 for y in Y = {0,1,2,3,4}, and alpha(k) = k mod 5 for k in Omega = {primes}. Here sigma is the sum of divisors function A000203. %F A291293 Then a(n) for n >= 2 is defined by a(n) = alpha(n) if n in Omega, and otherwise by a(n) = lambda(a(f(n))). %Y A291293 Cf. A000203, A039654, A291291, A262684. %K A291293 nonn %O A291293 2,1 %A A291293 _N. J. A. Sloane_, Aug 30 2017