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!)
A103899 Concatenation of next a(n) odd numbers is prime. 1
2, 1, 1, 2, 1, 50, 2, 13, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Vladimir Shevelev and Peter J. C. Moses, Sep 30 2014: (Start)
Consider a partition of consecutive odd numbers in minimal blocks such that concatenation of numbers in each block is a prime. The sequence lists the numbers of odd numbers in each block.
The first blocks are |1,3|5|7|9,11|13|15,17,...,111,113|115,117|, etc.
The prime corresponding to a(6) has 107 digits; a(10) has more than 58759 digits.
(End)
LINKS
EXAMPLE
a(1)=2 because 13 is prime.
Then we have p(2)=5, p(3)=7, p(4)=911, p(5)=13. The primes obtained for n=7 to 9 are: 115117, 119121123125127129131133135137139141143, 145147149151153155157159161163. The next prime to find should begin with "165". Next term a(10), if it exists, is > 1000. - Michel Marcus, Oct 05 2013
MATHEMATICA
c = 1; Do[p = c; k = 1; While[ !PrimeQ[p], c += 2; p = p*10^Length[IntegerDigits[c]] + c; k++ ]; Print[k]; c += 2, {n, 1, 30}] (* Ryan Propper, Aug 10 2005 *)
PROG
(PARI) findn(n) = {new = n; conc = n; while (! isprime(conc), new += 2; conc = eval(concat(Str(conc), Str(new))); ); print1(conc, ", "); new+2; }
lista(nn) = {odd = 1; for (i = 1, nn, nodd = findn(odd); nb = (nodd - odd)/2; print1(nb, ", "); odd = nodd; print("new odd ", odd); ); } \\ Michel Marcus, Oct 05 2013
CROSSREFS
Sequence in context: A126127 A230324 A060256 * A093324 A169676 A355912
KEYWORD
nonn,base,more
AUTHOR
Zak Seidov, Mar 30 2005
EXTENSIONS
4 more terms from Ryan Propper, Aug 10 2005
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 June 1 12:42 EDT 2024. Contains 373023 sequences. (Running on oeis4.)