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!)
A119344 Integer lengths of Theodorus-primes: numbers n such that the concatenation of the first n decimal digits of the Theodorus's constant sqrt(3) is prime. 4
2, 3, 19, 111, 116, 641, 5411, 170657 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Constant Primes
Eric Weisstein's World of Mathematics, Integer Sequence Primes
Eric Weisstein's World of Mathematics, Theodorus's Constant Digits
EXAMPLE
sqrt(3) = 1.732050807568877..., so
a(1) = 2 (17 with 2 decimal digits is the 1st prime in the decimal expansion),
a(2) = 3 (173 with 3 decimal digits is the 2nd prime in the decimal expansion).
MATHEMATICA
nn = 1000; digs = RealDigits[Sqrt[3], 10, nn][[1]]; n = 0; t = {}; Do[n = 10*n + digs[[d]]; If[PrimeQ[n], AppendTo[t, d]], {d, nn}]; t (* T. D. Noe, Dec 05 2011 *)
Module[{nn=171000, c}, c=RealDigits[Sqrt[3], 10, nn][[1]]; Select[Range[ nn], PrimeQ[ FromDigits[Take[c, #]]]&]] (* Harvey P. Dale, May 13 2017 *)
CROSSREFS
Cf. A119343 (Theodorus-primes).
Cf. A002194 (decimal expansion of sqrt(3)).
Sequence in context: A009178 A141508 A366357 * A072877 A201378 A241350
KEYWORD
nonn,more,base,hard
AUTHOR
Eric W. Weisstein, May 15 2006
EXTENSIONS
Edited by Charles R Greathouse IV, Apr 27 2010
a(8) = 170657 from Eric W. Weisstein, Aug 18 2013
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 5 23:11 EST 2023. Contains 367594 sequences. (Running on oeis4.)