login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A109549 Primes of the form aaaa...aa1 where a is 6, 7, 8 or 9. 1
61, 71, 661, 881, 991, 6661, 99991, 9999991, 6666666661, 7777777777771, 666666666666666661, 8888888888888888881, 77777777777777777771, 666666666666666666661, 6666666666666666666661, 77777777777777777777771 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Easy-to-remember large primes can be formed in this manner.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..43

FORMULA

d=6, 7, 8, 9 a(n) = if prime then Sum[d*10^i, {i, 1, m}] + 1

MATHEMATICA

d[n_] = If[5 + Mod[n, 6] > 0, 5 + Mod[n, 6], 1] a = Flatten[Table[Sum[d[k]*10^i, {i, 1, m}] + 1, {m, 1, 50}, {k, 1, 4}]] b = Flatten[Table[If[PrimeQ[a[[i]]] == True, a[[i]], {}], {i, 1, Length[a]}]]

Select[FromDigits/@Flatten[Table[PadLeft[{1}, i, #]&/@{6, 7, 8, 9}, {i, 2, 100}], 1], PrimeQ[#]&] (* Vincenzo Librandi, Dec 12 2011 *)

CROSSREFS

Cf. A051200, A004022, A093176, A093177, A089346, A093174, A092571, A089345, A089347.

Sequence in context: A064229 A180555 A039478 * A139944 A179012 A227980

Adjacent sequences:  A109546 A109547 A109548 * A109550 A109551 A109552

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Jun 26 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 06:12 EST 2021. Contains 349532 sequences. (Running on oeis4.)