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!)
A268704 Greatest n-digit prime having at least n-1 digits equal to 3. 2
7, 83, 733, 7333, 38333, 733333, 3733333, 83333333, 373333333, 3334333333, 38333333333, 383333333333, 3433333333333, 53333333333333, 383333333333333, 3733333333333333, 43333333333333333, 353333333333333333, 3333334333333333333, 33343333333333333333 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Michel Lagneau, Michael De Vlieger and Robert G. Wilson v, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_] := Block[{k = 0, p = {}, r = (10^n - 1)/3, s = Range@ 10 - 4}, While[k < n, AppendTo[p, Select[r + 10^k*s, PrimeQ]]; k++]; p = Max@ Flatten@ p]; Array[f, 20]
Table[Max[Select[FromDigits/@Flatten[Permutations/@Table[PadRight[{n}, k, 3], {n, {1, 2, 4, 5, 7, 8}}], 1], IntegerLength[#]==k&&PrimeQ[#]&]], {k, 20}] (* Harvey P. Dale, Apr 11 2020 *)
CROSSREFS
Sequence in context: A089342 A297716 A075137 * A099668 A348303 A240170
KEYWORD
base,nonn
AUTHOR
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 March 19 06:32 EDT 2024. Contains 370953 sequences. (Running on oeis4.)