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!)
A261459 Numbers k such that the concatenation of k 1's, the digits of k^2 + k + 1, and k 1's is prime. 0
1, 3, 4, 5, 6, 10, 254, 410, 751, 1101, 2488, 3476, 14124, 20060 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers k that generate the terms in A263299.
a(13) > 10000 if it exists. - Chai Wah Wu, Oct 22 2015
LINKS
PROG
(Python)
from gmpy2 import is_prime
A261459_list = [k for k in range(10**3) if is_prime(int('1'*k+str(k*(k+1)+1)+'1'*k))]
(PARI) for(n=1, 1e3, if(isprime(eval(Str((10^n - 1)/9, n^2 + n + 1, (10^n - 1)/9))), print1(n", "))); \\ Altug Alkan, Oct 20 2015
CROSSREFS
Cf. A263299.
Sequence in context: A110300 A143713 A271821 * A215249 A089912 A047425
KEYWORD
nonn,base,more
AUTHOR
Chai Wah Wu, Oct 19 2015
EXTENSIONS
a(13)-a(14) from Michael S. Branicky, Jun 06 2023
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 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)