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!)
A076986 Smallest squarefree number of the form n*k + 1. 1

%I #8 Jan 17 2020 03:29:36

%S 2,3,7,5,6,7,15,17,10,11,23,13,14,15,31,17,35,19,39,21,22,23,47,73,26,

%T 53,55,29,30,31,94,33,34,35,71,37,38,39,79,41,42,43,87,89,46,47,95,97,

%U 197,51,103,53,107,55,111,57,58,59,119,61,62,187,127,65,66

%N Smallest squarefree number of the form n*k + 1.

%H Andrew Howroyd, <a href="/A076986/b076986.txt">Table of n, a(n) for n = 1..1000</a>

%e a(24) = 73 as 25 and 49 are not squarefree.

%o (PARI) a(n)={my(k=1); while(!issquarefree(n*k+1), k++); n*k+1} \\ _Andrew Howroyd_, Jan 16 2020

%Y Cf. A005117 (squarefree numbers).

%K easy,nonn

%O 1,1

%A _Amarnath Murthy_, Oct 25 2002

%E a(26) corrected and a(27) and beyond from _Andrew Howroyd_, Jan 16 2020

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 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)