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 A133977 #5 Apr 28 2015 15:01:17 %S A133977 378997,747521,777643,2333797,2337397,2337691,3127979,3127997,3136607, %T A133977 3173761,3373547,3373907,3374729,3377999,3378317,3379829,3574657, %U A133977 3639997,3733967,3746507,3759263,3774161,3777419,3784463,3789293 %N A133977 Home primes whose homeliness is greater than 11. %C A133977 Number of terms < 10^n: 0, 0, 0, 0, 0, 3, 36, .... %t A133977 lst = {}; f[n_] := FromDigits@ Flatten[ IntegerDigits@ Table[ #[[1]], {#[[2]]}] & /@ FactorInteger@n, 2]; h[n_] := NestWhileList[f@# &, n, !PrimeQ@# &, 1, 28]; Do[p = h[n][[ -1]]; If[ PrimeQ@p && p < 10^7 && p != n, Print[{n, p}]; AppendTo[lst, p]], {n, 2, 1000}]; %t A133977 d = 12 - 2; lsu = {}; Do[ If[ lst[[n]] == lst[[n + d]], AppendTo[ lsu, lst[[n]] ]], {n, 188004 - d - 1}]; Take[ Union@ lsu, 30] %Y A133977 Cf. A037274, A118756, A133957, A133959, A133961, A133963, A133965, A133967, A133969, A133971, A133973, A133975, A133979. %K A133977 nonn,base %O A133977 1,1 %A A133977 _Robert G. Wilson v_, Sep 30 2007