Forgot password
 Register account
View 1577|Reply 2

一离散函数

[Copy link]

461

Threads

959

Posts

4

Reputation

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

1017

Posts

46

Reputation

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

2340

Posts

4

Reputation

Show all posts

其妙 posted 2013-11-2 20:06

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:45 GMT+8

Powered by Discuz!

Processed in 0.021368 seconds, 23 queries