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 A108505 #4 Mar 30 2012 17:34:55 %S A108505 0,3,7,36,50,269,367,2181,2816,18391,23617,160773,203733,1429749, %T A108505 1788486,12808711,15889727 %N A108505 Number of palindromic semiprimes less than 10^n. %C A108505 Does the limit n-> inf. a(n+2)/a(n) =~ 8*Pi^2/9? %t A108505 NextPalindrome[n_] := Block[ {l = Floor[ Log[10, n] + 1], idn = IntegerDigits[n]}, If[ Union[ idn] == {9}, Return[n + 2], If[l < 2, Return[n + 1], If[ FromDigits[ Reverse[ Take[ idn, Ceiling[l/2]]]] > FromDigits[ Take[ idn, -Ceiling[l/2]]], FromDigits[ Join[ Take[ idn, Ceiling[l/2]], Reverse[ Take[ idn, Floor[l/2]]] ]], idfhn = FromDigits[ Take[ idn, Ceiling[l/2]]] + 1; idp = FromDigits[ Join[ IntegerDigits[ idfhn], Drop[ Reverse[ IntegerDigits[ idfhn]], Mod[l, 2]]]] ]]]]; fQ[n_] := Plus @@ Last /@ FactorInteger[n] == 2; c = np = 0; Do[ While[np < 10^n, If[ fQ[np], c++ ]; np = NextPalindrome[np]]; Print[c], {n, 0, 12}] %Y A108505 Cf. A046328. %K A108505 base,nonn %O A108505 0,2 %A A108505 _Robert G. Wilson v_, Jun 06 2005 %E A108505 a(15)-a(16) from _Donovan Johnson_, Mar 14 2010