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!)
A242912 Finite sequence where each term follows n*10^n + p, where p is an n-digit prime and 1 <= n <= 9. 0

%I #25 May 29 2014 09:40:01

%S 12,13,15,17,211,213,217,219,223,229,231,237,241,243,247,253,259,261,

%T 267,271,273,279,283,289,297,3101,3103,3107,3109,3113,3127,3131,3137,

%U 3139,3149,3151,3157,3163,3167,3173,3179,3181,3191,3193,3197,3199,3211,3223

%N Finite sequence where each term follows n*10^n + p, where p is an n-digit prime and 1 <= n <= 9.

%C The sequence is finite because only the first digit is considered in defining the entire number. This first digit can vary only between 1 and 9. Hence, the largest possible number must be 9000000000 + p, where p is a 9-digit prime number. The largest prime I have found that fits this category is 999999937, giving the term, 9999999937.

%e For n = 2, 2*10^2 + 19 = 219. 19 is a 2-digit prime.

%e Note that for each n, several a(i) are generated, and the first of these is related to the 1st prime with n-digits. For n=1, the first term we get is related to the 1st prime with 1 digit, and there 4 of them. For n=2, the first term we get is related to the 1st prime with 2 digits and there 21 of them, etc.

%o (PARI) lista() = {for (n=1, 9, forprime(p=10^(n-1), 10^n-1, print1(n*10^n+p, ", ");););} \\ _Michel Marcus_, May 27 2014

%K nonn,base,fini

%O 1,1

%A _Philip Mizzi_, May 26 2014

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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)