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!)
A109947 Smallest prime == 1 (mod f(n)), where f(n) = concatenation 1,2,3,... up to n. 3
2, 13, 739, 4937, 24691, 123457, 29629609, 24691357, 1234567891, 530864193131, 12345678910111, 1851851836516681, 74074073460667279, 76543209242689521469, 8395061658875624936221, 123456789101112131415161 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
s = "1"; Do[s = s <> ToString[n]; k = ToExpression[s]; i = 1; While[ !PrimeQ[i*k + 1], i++ ]; Print[i*k + 1], {n, 2, 30}] (* Ryan Propper, Aug 01 2005 *)
CROSSREFS
Cf. A109948.
Sequence in context: A179434 A101342 A119122 * A175513 A064185 A069109
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jul 20 2005
EXTENSIONS
More terms from Ryan Propper, Aug 01 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)