login
The OEIS is supported by the many generous donors to the OEIS 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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099081 Numbers n such that 1.2. ... .n-1.n + 1 is prime (where dot between numbers means concatenation). 4
1, 2, 6, 30, 88 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
6 is in the sequence because 123456+1 is prime.
MATHEMATICA
f[n_] := Block[{p = 0, k = 1}, While[k <= n, p = 10^Floor[ Log[10, k] + 1]p + k; k++ ]; PrimeQ[p + 1]]; Do[ If[ f[n], Print[n]], {n, 1000}] (* Robert G. Wilson v, Nov 01 2004 *)
CROSSREFS
Sequence in context: A328417 A290760 A088857 * A051844 A335396 A034501
KEYWORD
base,more,nonn
AUTHOR
Farideh Firoozbakht, Oct 23 2004
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 December 10 08:26 EST 2023. Contains 367701 sequences. (Running on oeis4.)