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.

A133975 Home primes whose homeliness is greater than 10.

This page as a plain text file.
%I A133975 #5 Apr 28 2015 15:01:20
%S A133975 378997,379811,747521,777643,1173463,2314723,2315641,2333797,2337397,
%T A133975 2337607,2337691,3127979,3127997,3136607,3173761,3182561,3371237,
%U A133975 3372371,3373547,3373907,3374729,3376991,3377999,3378317,3379829
%N A133975 Home primes whose homeliness is greater than 10.
%C A133975 Number of terms < 10^n: 0, 0, 0, 0, 0, 4, 60, ....
%t A133975 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 A133975 d = 11 - 2; lsu = {}; Do[ If[ lst[[n]] == lst[[n + d]], AppendTo[ lsu, lst[[n]] ]], {n, 188004 - d - 1}]; Take[ Union@ lsu, 30]
%Y A133975 Cf. A037274, A118756, A133957, A133959, A133961, A133963, A133965, A133967, A133969, A133971, A133973, A133977, A133979.
%K A133975 nonn,base
%O A133975 1,1
%A A133975 _Robert G. Wilson v_, Sep 30 2007