2 lines
76 B
R
2 lines
76 B
R
#Find happy numbers between 1 and 50
|
|
which(apply(rbind(1:50), 2, is.happy))
|
#Find happy numbers between 1 and 50
|
|
which(apply(rbind(1:50), 2, is.happy))
|