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!)
A153092 Least k(n) such that k(n)*6^n*(6^n-1)+j is prime with j= -1 or 1 or both 2
1, 1, 1, 1, 3, 2, 3, 2, 20, 4, 5, 2, 9, 2, 27, 7, 12, 3, 3, 2, 3, 6, 6, 1, 18, 8, 2, 17, 2, 14, 55, 1, 18, 4, 59, 18, 30, 26, 32, 3, 14, 59, 42, 35, 40, 22, 7, 17, 26, 6, 28, 3, 15, 11, 6, 32, 30, 18, 14, 4, 85, 3, 1, 65, 13, 64, 7, 18, 40, 8, 68, 5, 5, 6, 107, 7, 88, 25, 6, 3, 1, 21, 8, 12, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
When n increases sum k(n) for i=1 to n / sum n for i=1 to n tends to log(6)/4.5
LINKS
EXAMPLE
1*6^1*(6^1-1)-1=29 prime as 31 so k(1)=1
MATHEMATICA
lkn[n_]:=Module[{c=6^n (6^n-1), k=1}, While[NoneTrue[k*c+{1, -1}, PrimeQ], k++]; k]; Array[lkn, 90] (* Harvey P. Dale, Feb 29 2024 *)
CROSSREFS
Sequence in context: A362688 A214254 A370903 * A165601 A324030 A275821
KEYWORD
nonn
AUTHOR
Pierre CAMI, Dec 18 2008
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 July 9 20:54 EDT 2024. Contains 374191 sequences. (Running on oeis4.)