OFFSET
1,1
EXAMPLE
2482 is in the sequence because cos(2482°) = sin(2*4*8*2°)= 0.7880107536067219... (A019861).
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(cos(n*Pi/180)):s2:=evalf(sin(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
EXTENSIONS
Name edited by Jon E. Schoenfield, Sep 12 2017
STATUS
approved