The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110789 Number of digits in A110788(n). 10

%I #11 Aug 24 2022 09:03:57

%S 1,1,2,4,5,10,23,102,102,138,451,1922,1624,5630

%N Number of digits in A110788(n).

%o (Python)

%o from sympy import isprime

%o from itertools import count, islice

%o def agen(): # generator of terms

%o s = ""

%o while True:

%o for d in "71":

%o for k in count(1):

%o if isprime(int(s+d*k)): break

%o yield k

%o s += d*k

%o print(list(islice(agen(), 11))) # _Michael S. Branicky_, Aug 23 2022

%Y Cf. A110774, A110775, A110776, A110777, A110778, A110780, A110781, A110782, A110783, A110788.

%K base,nonn

%O 1,3

%A _Amarnath Murthy_, Aug 13 2005

%E More terms from _Joshua Zucker_, Jan 11 2006

%E a(12) from _Sean A. Irvine_, Mar 22 2010

%E a(13)-a(14) from _Michael S. Branicky_, Aug 23 2022

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 04:23 EDT 2024. Contains 373114 sequences. (Running on oeis4.)