login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A056244 Indices of primes in sequence defined by A(0) = 11, A(n) = 10*A(n-1) + 21 for n > 0. 1
0, 1, 3, 5, 93, 159, 359, 1469, 2897, 3093, 3111, 15697, 17955, 42261, 111031 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Numbers n such that (120*10^n - 21)/9 is prime.

Numbers n such that digit 1 followed by n >= 0 occurrences of digit 3 followed by digit 1 is prime.

Numbers corresponding to terms <= 359 are certified primes. For numbers corresponding to terms >= 1469 see P. De Geest, PDP Reference Table.

REFERENCES

Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.

LINKS

P. De Geest, PDP Reference Table

Makoto Kamada, Factorizations of 133...331.

Index entries for primes involving repunits.

FORMULA

a(n) = A082697(n-1) - 2 for n > 1.

EXAMPLE

131 is prime, hence 1 is a term.

MATHEMATICA

Do[If[PrimeQ[(1*10^n + 3*(10^n - 1)/9)*10 + 1], Print[n]], {n, 1, 2500}]

PROG

(PARI) a=11; for(n=0, 1500, if(isprime(a), print1(n, ", ")); a=10*a+21)

(PARI) for(n=0, 1500, if(isprime((120*10^n-21)/9), print1(n, ", ")))

CROSSREFS

Cf. A000533, A002275, A082697.

Sequence in context: A107655 A133660 A057663 * A173487 A103081 A003112

Adjacent sequences:  A056241 A056242 A056243 * A056245 A056246 A056247

KEYWORD

nonn,more

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 18 2000

EXTENSIONS

More terms and additional comments from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jun 15 2007

Updates from De Geest site by Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008

a(15)=111031 from Ray Chandler (rayjchandler(AT)sbcglobal.net), Apr 14 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 11:36 EST 2012. Contains 205623 sequences.