Forgot password?
 Register account
View 1571|Reply 2

一离散函数

[Copy link]

459

Threads

952

Posts

9843

Credits

Credits
9843

Show all posts

青青子衿 Posted 2013-11-2 16:31 |Read mode
定义函数$f(x)(x∈N_+)$表示正整数x有可分为两个正整数相乘的组数,如$f(1)=1$,$f(2)=1$,$f(3)=1$,$f(4)=2$。
谁会编程找出它的前100项

24

Threads

1010

Posts

110K

Credits

Credits
12655

Show all posts

战巡 Posted 2013-11-2 17:06
Last edited by hbghlyj 2025-5-6 20:46回复 1# 青青子衿
Table[Ceiling[Length[Divisors[i]]/2, {1, 1, 100}]]
» {1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 3, 1, 3, 1, 3, 2, 2, 1, 4, 2, 2, 2, 3, 1, 4, 1, 3, 2, 2, 2, 5, 1, 2, 2, 4, 1, 4, 1, 3, 3, 2, 1, 5, 2, 3, 2, 3, 1, 4, 2, 4, 2, 2, 1, 6, 1, 2, 3, 4, 2, 4, 1, 3, 2, 4, 1, 6, 1, 2, 3, 3, 2, 4, 1, 5, 3, 2, 1, 6, 2, 2, 2, 4, 1, 6, 2, 3, 2, 2, 2, 6, 1, 3, 3, 5}
MMC轻松搞定

84

Threads

2336

Posts

110K

Credits

Credits
13076

Show all posts

其妙 Posted 2013-11-2 20:06

Mobile version|Discuz Math Forum

2025-6-5 01:12 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit