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!)
A214491 Smallest integer k such that prime(n+1) = floor(prime(n)/cos(k)). 0

%I #4 Jul 22 2012 17:17:45

%S 1,1,18,70,12,7,56,76,81,13,32,57,82,13,144,101,6,13,163,6,31,82,119,

%T 31,6,138,6,138,6,145,50,38,107,119,63,6,6,138,6,50,19,126,19,151,19,

%U 207,126,151,19,107,138,19,339,138,138,182,25,182,107,25,50,295

%N Smallest integer k such that prime(n+1) = floor(prime(n)/cos(k)).

%C a(n) is given in radians.

%C See the comments in A214490.

%e a(2) = 1 because prime(2+1) = floor(prime(2) / cos(1)) = floor(3/.5403023059...) = floor(5.552447153…) = 5 = prime(3).

%p with(numtheory):for n from 1 to 65 do:i:=0:p0:=ithprime(n):p1:=ithprime(n+1):for k from 0 to 10^7 while(i=0) do:c:=cos(k):if c<>0 and p1=floor(p0/c) then i:=1:printf(`%d, `,k):else fi:od:od:

%Y Cf. A000040, A214490.

%K nonn

%O 1,3

%A _Michel Lagneau_, Jul 19 2012

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 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)