login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A173708
Numbers of the form p*(q-1) for primes p, q with p>q.
2
3, 5, 7, 10, 11, 13, 14, 17, 19, 22, 23, 26, 28, 29, 31, 34, 37, 38, 41, 43, 44, 46, 47, 52, 53, 58, 59, 61, 62, 66, 67, 68, 71, 73, 74, 76, 78, 79, 82, 83, 86, 89, 92, 94, 97, 101, 102, 103, 106, 107, 109, 113, 114, 116, 118, 122, 124, 127, 130, 131
OFFSET
1,1
COMMENTS
Sorted A173706. Possible values from the formula for crossing numbers of (p,q) torus knots.
REFERENCES
Peter R. Cromwell, Knots and Links, Cambridge University Press, November 15, 2004, p.255.
LINKS
FORMULA
{p*(q-1) : p, q prime and p>q}.
MAPLE
a:= proc(n) option remember;
local k, p, q;
if n=1 then 3
else for k from a(n-1)+1 do
for p in numtheory[factorset](k) do
q:= k/p+1;
if isprime (q) and p>q then return k fi
od
od
fi
end:
seq (a(n), n=1..60); # Alois P. Heinz, Nov 26 2010
MATHEMATICA
Reap[For[k = 1, k <= 200, k++, s = Solve[p > q && k == p(q-1), {p, q}, Primes]; If[s != {}, Print[{k, p, q} /. s // First]; Sow[k]]]][[2, 1]] (* Jean-François Alcover, Nov 11 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Nov 25 2010
EXTENSIONS
More terms from Alois P. Heinz, Nov 26 2010
STATUS
approved