The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A200923 Least k such that (3^n - k)*3^n + 1 is a prime number. 5
1, 1, 7, 1, 3, 1, 7, 5, 9, 29, 19, 1, 7, 49, 49, 9, 23, 1, 3, 29, 53, 39, 41, 35, 7, 5, 51, 33, 3, 81, 83, 15, 21, 31, 61, 69, 67, 87, 27, 5, 19, 55, 153, 35, 99, 31, 23, 49, 47, 95, 3, 115, 89, 55, 23, 61, 139, 49, 87, 5, 153, 87, 269, 113, 67, 207, 41, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Table[k = 0; While[!PrimeQ[(3^n - k)*3^n + 1], k++]; k, {n, 72}]
lk[n_]:=Module[{c=3^n, k=1}, While[!PrimeQ[(c-k)*c+1], k++]; k]; Array[lk, 70] (* Harvey P. Dale, Jul 15 2017 *)
CROSSREFS
Sequence in context: A239807 A130875 A370112 * A317830 A317938 A317834
KEYWORD
nonn
AUTHOR
Michel Lagneau, Nov 24 2011
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 May 19 00:35 EDT 2024. Contains 372666 sequences. (Running on oeis4.)