I want to generate these two sequences:
A = c(0.25,0.50,0.75,1,0.25,0.50,0.75,0.25,0.50,0.25) B = c(0.33,0.66,1,0.33,0.66,0.33)
with one func