login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A321806 Number of zeros in palindromic strings of the form '123456789'|'1...0...1'|'987654321' whose decimal expansions are primes (palindromic). 1
7, 11, 19, 571, 829
(list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also numbers k such that 1234567891*10^(k+10) + 1987654321 is prime.
a(1)-a(5) are themselves primes i.e. numbers of (central) zeros in these palindromic strings (the decimal expansions of which are primes) are also primes.
If a(6) exists then it is >40000 (if it is composite) or >60000 (if it is prime).
LINKS
EXAMPLE
a(1)=7 because the decimal expansion of the palindromic string '123456789100000001987654321' (concatenation of the prefix '123456789', the central string '100000001', and the suffix '987654321') is prime (palindromic) containing 7 zeros.
a(2)=11 as the decimal expansion of '1234567891000000000001987654321' is prime which contains 11 zeros.
MATHEMATICA
ParallelMap[If[PrimeQ[1234567891*10^(#+10)+1987654321], #, Nothing] &, Range@1000]
PROG
(Perl) use ntheory "is_prime"; do { print "$_\n" if is_prime("1234567891" . "0"x$_ . "1987654321") } for 1..2000; # Dana Jacobsen, Nov 21 2018
CROSSREFS
Cf. A002385.
Sequence in context: A319224 A282037 A050562 * A057190 A106674 A184063
KEYWORD
nonn,base,hard,more
AUTHOR
Mikk Heidemaa, Nov 19 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 18 12:58 EDT 2024. Contains 376000 sequences. (Running on oeis4.)