login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A168535
Primes in A028359.
0
2, 1212121, 12121212121, 1212121212121212121212121212121212121212121
OFFSET
1,1
COMMENTS
Except for the first term, each term must both begin and end with a "1" because each term greater than 2 must end in a "1" and if a term begins with a "2" the sum of the digits of the term will be divisible by 3 and thus the term is not a prime. - Harvey P. Dale, Jun 22 2019
The next term (a(5)) has 139 digits and a(6) has 627 digits. - Harvey P. Dale, Jun 22 2019
MATHEMATICA
Join[{2}, Select[Table[FromDigits[PadRight[{}, 2n+1, {1, 2}]], {n, 30}], PrimeQ]] (* Harvey P. Dale, Jun 22 2019 *)
CROSSREFS
Cf. A028359.
Sequence in context: A051118 A324439 A218169 * A303433 A253264 A375866
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 28 2009
STATUS
approved