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.

A110789 Number of digits in A110788(n).

This page as a plain text file.
%I A110789 #17 Nov 21 2024 06:12:02
%S A110789 1,1,2,4,5,10,23,102,102,138,451,1922,1624,5630,26410
%N A110789 Number of digits in A110788(n).
%o A110789 (Python)
%o A110789 from sympy import isprime
%o A110789 from itertools import count, islice
%o A110789 def agen(): # generator of terms
%o A110789     s = ""
%o A110789     while True:
%o A110789         for d in "71":
%o A110789             for k in count(1):
%o A110789                 if isprime(int(s+d*k)): break
%o A110789             yield k
%o A110789             s += d*k
%o A110789 print(list(islice(agen(), 11))) # _Michael S. Branicky_, Aug 23 2022
%Y A110789 Cf. A110774, A110775, A110776, A110777, A110778, A110780, A110781, A110782, A110783, A110788.
%K A110789 base,nonn,more
%O A110789 1,3
%A A110789 _Amarnath Murthy_, Aug 13 2005
%E A110789 More terms from _Joshua Zucker_, Jan 11 2006
%E A110789 a(12) from _Sean A. Irvine_, Mar 22 2010
%E A110789 a(13)-a(14) from _Michael S. Branicky_, Aug 23 2022
%E A110789 a(15) from _Michael S. Branicky_, Nov 20 2024