Skip to main content
deleted 6 characters in body
Source Link

Mathematica, 50 bytes

n=Today["YearShort"];{.1*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 7064 bytes

n<-asn=as.numeric(format(Sys.time(),"%y")) c(.1*(61+n-floor(nn%/4)%4),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 50 bytes

n=Today["YearShort"];{.1*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 70 bytes

n<-as.numeric(format(Sys.time(),"%y")) c(.1*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 50 bytes

n=Today["YearShort"];{.1*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 64 bytes

n=as.numeric(format(Sys.time(),"%y")) c(.1*(61+n-n%/%4),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Removed unnecessary braces
Source Link

Mathematica, 5250 bytes

n=Today["YearShort"];{(.1)*1*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 7270 bytes

n<-as.numeric(format(Sys.time(),"%y")) c((.1)*1*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 52 bytes

n=Today["YearShort"];{(.1)*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 72 bytes

n<-as.numeric(format(Sys.time(),"%y")) c((.1)*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 50 bytes

n=Today["YearShort"];{.1*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 70 bytes

n<-as.numeric(format(Sys.time(),"%y")) c(.1*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Moved to .1 rather than 1/10, as suggested in comments
Source Link

Mathematica, 5452 bytes

n=Today["YearShort"];{(.1/10)*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 7472 bytes

n<-as.numeric(format(Sys.time(),"%y")) c((.1/10)*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 54 bytes

n=Today["YearShort"];{(1/10)*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 74 bytes

n<-as.numeric(format(Sys.time(),"%y")) c((1/10)*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Mathematica, 52 bytes

n=Today["YearShort"];{(.1)*(61+n-Floor[n/4]),280+3n} 

Note that this is dependent on having a Wolfram Engine with Version number 10+ (released 2014) due to dependence on DateObjects.

R, 72 bytes

n<-as.numeric(format(Sys.time(),"%y")) c((.1)*(61+n-floor(n/4)),280+3*n) 

Direct port of Mathematica code, think I had a shorter solution but dependent on packages whereas this works with base R.

Added R solution
Source Link
Loading
Source Link
Loading