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”).

A079578
Least coprime to n, greater than n+1.
5
3, 5, 5, 7, 7, 11, 9, 11, 11, 13, 13, 17, 15, 17, 17, 19, 19, 23, 21, 23, 23, 25, 25, 29, 27, 29, 29, 31, 31, 37, 33, 35, 35, 37, 37, 41, 39, 41, 41, 43, 43, 47, 45, 47, 47, 49, 49, 53, 51, 53, 53, 55, 55, 59, 57, 59, 59, 61, 61, 67, 63, 65, 65, 67, 67, 71, 69, 71, 71, 73, 73
OFFSET
1,1
COMMENTS
a(n) = n + A053669(n).
LINKS
FORMULA
a(n) = (A116934(n) - n)/A116933(n). - Reinhard Zumkeller, Feb 27 2006
PROG
(Haskell)
a079578 n = head [m | m <- [n + 2 ..], gcd m n == 1]
-- Reinhard Zumkeller, Oct 01 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 24 2003
STATUS
approved