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 A084923 #6 Mar 30 2012 18:34:55 %S A084923 20,1,22,21,19,20,20,20,27,2,21,25,19,22,21,20,19,21,24,26,20,20,19, %T A084923 28,22,20,20,20,26,20,25,21,30,20,26,22,27,27,20,29,19,2,19,28,25,21, %U A084923 20,21,22,25,26,20,19,20,6,20,31,22,23,20,28,21,21,23,27,20,27,22,25,20,19,22 %N A084923 Consider the sequence b(1) = n, b(k) is the greatest prime factor of 3*b(k-1)+2. It is conjectured that this always becomes cyclic; a(n) = length of cycle (or 0 if no cycle is reached). %t A084923 f[n_] := Flatten[ Table[ # [[1]], {1} ] & /@ FactorInteger[ 3n + 2 ]][[ -1]]; Table[ Length[ NestWhileList[f, n, UnsameQ, All]] - 1, {n, 1, 72}] %Y A084923 Cf. A083557. %K A084923 nonn %O A084923 1,1 %A A084923 _Robert G. Wilson v_ & _Jud McCranie_, Jun 11 2003