OFFSET
1,1
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..2000
EXAMPLE
666 is in the sequence because sin(666°) = cos(6*6*6°) = -.8090169943749... = -phi/2 where phi is the golden ratio (1+sqrt(5))/2. (A019863)
418 is in the sequence because sin(418°) = cos(4*1*8°)= .84804809615... (A019867)
3915 is in the sequence because sin(3915°) = cos(3*9*1*5°)= -.70710678118654752440 = -1/sqrt(2). (A010503)
MAPLE
with(numtheory):err:=1/10^10:Digits:=20:for n from 1 to 5000 do:x:=convert(n, base, 10):n1:=nops(x):p:=product('x[i]', 'i'=1..n1):s1:=evalf(sin(n*Pi/180)):s2:=evalf(cos(p*Pi/180)):if abs(s1-s2)<err then printf(`%d, `, n):else fi:od:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Feb 04 2014
STATUS
approved