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.

A110783 Number of digits in A110782(n).

This page as a plain text file.
%I A110783 #16 Oct 14 2024 15:34:12
%S A110783 2,1,3,3,2,8,21,102,25,726,954,16522,2939,10691,8157
%N A110783 Number of digits in A110782(n).
%C A110783 a(12) > 7300. - _Michael S. Branicky_, Aug 24 2022
%o A110783 (Python)
%o A110783 from sympy import isprime
%o A110783 from itertools import count, islice
%o A110783 def agen(): # generator of terms
%o A110783     s = ""
%o A110783     while True:
%o A110783         for d in "1379":
%o A110783             for k in count(1):
%o A110783                 if isprime(int(s+d*k)): break
%o A110783             yield k
%o A110783             s += d*k
%o A110783 print(list(islice(agen(), 11))) # _Michael S. Branicky_, Aug 24 2022
%Y A110783 Cf. A110774, A110775, A110776, A110777, A110778, A110780, A110781, A110782.
%K A110783 base,nonn,more
%O A110783 1,1
%A A110783 _Amarnath Murthy_, Aug 12 2005
%E A110783 More terms from _Joshua Zucker_, Jan 11 2006
%E A110783 a(11) from _Sean A. Irvine_, Mar 22 2010
%E A110783 a(12)-a(15) from _Michael S. Branicky_, Oct 14 2024