Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
11
Task/Bernoulli-numbers/Maple/bernoulli-numbers.maple
Normal file
11
Task/Bernoulli-numbers/Maple/bernoulli-numbers.maple
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
k:=length(numer(bernoulli(60))):
|
||||
|
||||
G := proc(n) local b,i;
|
||||
b := `if`(n=1/2,1/2,bernoulli(2*n));
|
||||
printf("%a%s%a\n",'B'[2*n],
|
||||
cat(" "$i=1..(5+k-length(numer(b))
|
||||
+(1+signum(b))/2)-length(2*n)),b);
|
||||
NULL;
|
||||
end proc:
|
||||
|
||||
G(0), G(1/2), seq(G(i),i=1..30);
|
||||
Loading…
Add table
Add a link
Reference in a new issue