|
|
|
|
5, 5, 9, 25, 97, 481, 2881, 20161, 161281, 1451521, 14515201, 159667201, 1916006401, 24908083201, 348713164801, 5230697472001, 83691159552001, 1422749712384001, 25609494822912001, 486580401635328001, 9731608032706560001, 204363768686837760001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
a:= proc(n) if n=0 then 5 else a(n) := n*a(n-1)-n+1 fi end: seq (a(n), n=0..25); # Sergei N. Gladkovskii, Jul 04 2012
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [4*Factorial(n) + 1: n in [0..25]]; /* or */ [5] cat [n eq 1 select n+4 else n*Self(n-1)-n+1: n in [1..25] ]; // Vincenzo Librandi, Sep 29 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|