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!)
A076120 a(n) = smallest multiple of n other than n which is relatively prime to both a(n-1) and a(n+1). 0

%I #4 Dec 05 2013 19:55:46

%S 3,4,9,8,25,12,35,16,27,20,77,24,65,28,45,32,85,36,133,40,63,44,115,

%T 48,125,52,81,56,319,60,217,64,99,68,175,72,185,76,117,80,451,84,215,

%U 88,135,92,235,96,343,100,153,104,265,108,275,112,171,116,413,120,427

%N a(n) = smallest multiple of n other than n which is relatively prime to both a(n-1) and a(n+1).

%e a(1)=3 and is not 2 else there is no candidate for a(2). Similarly a(5) is not 15 so that a(6) exists.

%o (PARI) p=3:print1("3,"):for(n=2,80, for(k=2,10^9,if(gcd(k*n,p)==1&&gcd(k,n+1)==1,print1(k*n","):p=k*n:break)))

%K nonn

%O 0,1

%A _Amarnath Murthy_, Oct 14 2002

%E More terms from _Ralf Stephan_, Mar 27 2003

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 July 30 05:15 EDT 2024. Contains 374734 sequences. (Running on oeis4.)