OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Triskaidekaphobia
Wikipedia, Triskaidekaphobia
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = n + sign( floor( n/13 ) ). - Wesley Ivan Hurt, Jan 12 2013
G.f.: -x*(x^13-x^12-1) / (x-1)^2. - Colin Barker, May 04 2014
MATHEMATICA
Drop[Range[70], {13}] (* Harvey P. Dale, Dec 11 2012 *)
PROG
(PARI) a(n)=if(n<13, n, n+1) \\ Charles R Greathouse IV, Sep 02 2011
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
Juan-Carlos Lerman (jclerm(AT)aztec.asu.edu), Dec 11 1996
STATUS
approved