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!)
A101951 Indices of primes in sequence defined by A(0) = 23, A(n) = 10*A(n-1) - 27 for n > 0. 3
0, 2, 4, 5, 6, 11, 15, 16, 21, 23, 34, 114, 119, 357, 1487, 1818, 4678, 9820, 27216, 27692, 194412 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that 20*10^n + 3 is prime.
Numbers n such that digit 2 followed by n >= 0 occurrences of digit 0 followed by digit 3 is prime.
Numbers corresponding to terms <= 357 are certified primes.
a(21) > 10^5. - Robert Price, Nov 16 2014
a(22) > 2*10^5. - Robert Price, Jul 11 2015
REFERENCES
Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
LINKS
FORMULA
a(n) = A081677(n+1) - 1. - Robert Price, Nov 16 2014
EXAMPLE
2003 is prime, hence 2 is a term.
MATHEMATICA
Select[Range[0, 1000], PrimeQ[(20 10^# + 3)] &] (* Vincenzo Librandi, Nov 17 2014 *)
PROG
(PARI) a=23; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a-27)
(PARI) for(n=0, 1500, if(isprime(20*10^n+3), print1(n, ", ")))
(Magma) [n: n in [0..500] | IsPrime(20*10^n+3)]; // Vincenzo Librandi, Nov 17 2014
CROSSREFS
Sequence in context: A113631 A202101 A192582 * A171166 A194607 A194637
KEYWORD
nonn,hard,more
AUTHOR
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 23 2004
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
a(19)-a(20) derived from A081677 by Robert Price, Nov 16 2014
a(21) from Robert Price, Jul 11 2015
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 May 16 08:15 EDT 2024. Contains 372549 sequences. (Running on oeis4.)