This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A079114 Least squarefree number > n that is coprime to n. 2
 2, 3, 5, 5, 6, 7, 10, 11, 10, 11, 13, 13, 14, 15, 17, 17, 19, 19, 21, 21, 22, 23, 26, 29, 26, 29, 29, 29, 30, 31, 33, 33, 34, 35, 37, 37, 38, 39, 41, 41, 42, 43, 46, 47, 46, 47, 51, 53, 51, 51, 53, 53, 55, 55, 57, 57, 58, 59, 61, 61, 62, 65, 65, 65, 66, 67, 69, 69, 70, 71, 73 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS a(n) = n + A079115(n). LINKS Antti Karttunen, Table of n, a(n) for n = 1..10000 EXAMPLE a(44) = a(2*2*11) = 47, as 45 = 3*3*5 and 46 = 2*23. MATHEMATICA lsn[n_]:=Module[{k=n+1}, While[!SquareFreeQ[k]||!CoprimeQ[n, k], k++]; k]; Array[lsn, 80] (* Harvey P. Dale, Jan 19 2017 *) PROG (PARI) A079114(n) = { my(h=n+1); while((!issquarefree(h))||(gcd(n, h)>1), h++); h; } \\ Antti Karttunen, Nov 23 2017 CROSSREFS Cf. A005117, A079115. Sequence in context: A079228 A067535 A076752 * A058189 A069208 A066113 Adjacent sequences:  A079111 A079112 A079113 * A079115 A079116 A079117 KEYWORD nonn AUTHOR Reinhard Zumkeller, Dec 25 2002 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified March 26 05:43 EDT 2019. Contains 321481 sequences. (Running on oeis4.)