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!)
A085064 a(n) = smallest k such that nk-1 as well as n+k are primes. 1
4, 3, 2, 1, 6, 1, 6, 3, 2, 3, 12, 1, 18, 3, 2, 3, 6, 1, 12, 3, 2, 9, 6, 7, 6, 15, 2, 3, 12, 1, 30, 15, 4, 3, 12, 5, 24, 3, 8, 21, 12, 1, 18, 3, 2, 57, 6, 5, 12, 3, 2, 9, 6, 5, 12, 3, 2, 3, 42, 1, 18, 9, 4, 3, 6, 7, 6, 15, 2, 27, 18, 1, 66, 15, 8, 3, 6, 5, 120, 3, 8, 15, 18, 5, 12, 3, 2, 15, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n)=1 if and only if n is in A014574. - Robert Israel, May 14 2018
LINKS
MAPLE
f:= proc(n) local k;
for k from 1+(n mod 2) by 2 do
if isprime(n+k) and isprime(n*k-1) then return k fi
od
end proc:
map(f, [$1..100]); # Robert Israel, May 14 2018
CROSSREFS
Sequence in context: A196535 A106655 A105313 * A030587 A194764 A194738
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 28 2003
EXTENSIONS
More terms from Robert Israel, May 14 2018
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 24 09:42 EDT 2024. Contains 371935 sequences. (Running on oeis4.)