OFFSET
0,3
FORMULA
a(n) = n^r(n).
for n>0, a(n) = n^(((n-1) mod 9)+1).
EXAMPLE
a(13)=13^r(13)=13^4=28561.
MAPLE
[1, seq(n^(((n-1) mod 9)+1), n=1..30)]; # Georg Fischer, Sep 11 2024
MATHEMATICA
Join[{1}, Table[n^(Mod[n-1, 9]+1), {n, 32}]] (* James C. McMahon, Sep 13 2024 *)
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 23 2006
EXTENSIONS
a(28) corrected by Georg Fischer, Sep 11 2024
STATUS
approved