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!)
A178380 The greatest common prime divisor of n, A000032(n)-1 and A001608(n), or 1 if no such greatest common divisor exists. 2

%I #7 Oct 23 2015 02:34:29

%S 2,3,2,5,1,7,2,3,1,11,1,13,1,1,2,17,1,19,1,1,2,23,1,5,1,3,1,29,1,31,2,

%T 1,1,1,1,37,1,1,1,41,1,43,2,1,2,47,1,7,2,1,1,53,1,1,1,1,2,59,1,61,1,1,

%U 2,1,1,67,1,1,1,71,1,73,2,1,1,1,1,79,1,3,1,83,1,1,2,1,2,89,1

%N The greatest common prime divisor of n, A000032(n)-1 and A001608(n), or 1 if no such greatest common divisor exists.

%C Records of the sequence are consecutive primes.

%p A000032 := proc(n) ((1+sqrt(5))/2)^n + ((1-sqrt(5))/2)^n ; expand(%) ; end proc:

%p A001608 := proc(n) coeftayl( (3-x^2)/(1-x^2-x^3),x=0,n) ; end proc:

%p A178380 := proc(n) local g; g := igcd(n, A000032(n)-1, A001608(n)) ; if g = 1 then 1; else numtheory[factorset](%) ; max( op(%)) ; end if; end proc:

%p seq(A178380(n),n=2..90) ; # _R. J. Mathar_, Aug 08 2010

%Y Cf. A000032, A001608, A178375.

%K nonn

%O 2,1

%A _Vladimir Shevelev_, May 26 2010

%E More terms from _R. J. Mathar_, Aug 08 2010

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)