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!)
A342221 Integers k, not congruent to 1 mod 3, such that there is no prime of length k using digit 3 once and rest all 1. 0
15, 26, 32, 41, 68, 93, 99, 113, 116, 119, 134, 150, 158, 161, 170, 173, 176, 177, 179, 204, 213, 252, 257, 266, 284, 299, 305, 312, 320, 333, 353, 357, 374, 392, 402, 404, 419, 434, 443, 450, 491, 495, 506, 509, 513, 518, 527, 548, 551, 554, 570, 582, 584, 593 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The "not congruent to 1 mod 3" condition is due to the fact that A090537(3*k+1) = 0.
LINKS
PROG
(Python)
from sympy import isprime
A342221_list = []
for k in range(1, 10**3):
if k % 3 != 1:
m, l = (10**k-1)//9, 2
for i in range(k):
if isprime(m+l):
break
l *= 10
else:
A342221_list.append(k) # Chai Wah Wu, Mar 15 2021
CROSSREFS
Subsequence of A007494.
Sequence in context: A146249 A248834 A249109 * A074974 A191913 A191915
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Mar 14 2021
EXTENSIONS
More terms from Chai Wah Wu, Mar 15 2021
STATUS
approved

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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)