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 A165451 #9 Feb 23 2023 11:53:30 %S A165451 2,10,11,12,13,20,21,30,31,100,101,110,111,122,133,134,135,136,143, %T A165451 153,155,163,178,187,202,212,220,221,303,304,305,306,313,314,315,316, %U A165451 330,331,340,341,350,351,360,361,403,413,430,431,503,505,513,515,530,531 %N A165451 Sum of factorial of digits is prime. %e A165451 1!+3!+5! = 127 and 127 is prime, so 135 appears in the sequence. %o A165451 (PARI) digfac(n)=local(s=0); while(n,s=s+((n%10)!);n=n\10);return(s) %o A165451 for(n=1,1000,if(isprime(digfac(n)),print1(n,", "))) %o A165451 (Python) %o A165451 from itertools import count, islice, combinations_with_replacement %o A165451 from math import factorial %o A165451 from sympy import isprime %o A165451 from sympy.utilities.iterables import multiset_permutations %o A165451 def A165451_gen(): # generator of terms %o A165451 for l in count(0): %o A165451 for i in range(1,10): %o A165451 fi = factorial(i) %o A165451 yield from sorted(int(str(i)+''.join(map(str,k))) for j in combinations_with_replacement(range(10), l) for k in multiset_permutations(j) if isprime(fi+sum(map(factorial,j)))) %o A165451 A165451_list = list(islice(A165451_gen(),50)) # _Chai Wah Wu_, Feb 23 2023 %Y A165451 Cf. A061602. %K A165451 easy,nonn,base %O A165451 1,1 %A A165451 _Rémy Sigrist_, Sep 20 2009