Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Our vision is to speed up time, eventually eliminating it." -- Alex Schure


computers / comp.os.linux.advocacy / i is a ? (now with a free clue)

SubjectAuthor
* i is a ?DFS
`- i is a ? (now with a free clue)DFS

1
i is a ?

<660d6b4d$0$2909308$882e4bbb@reader.netnews.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13195&group=comp.os.linux.advocacy#13195

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!198.186.190.30.MISMATCH!news-out.netnews.com|netnews.com!postmaster.netnews.com!us2.netnews.com!not-for-mail
X-Trace: DXC=iVe_okOa0oNGE;6X:DPoL@HWonT5<]0TMQ;nb^V>PUfF5[gZBW6J?LLo>@oN;JD0ZCBmY9hb>`[@M40JJVf]<2mFMba][>SC2CGf;]EoU=id5F=R<hY6_C9TH
X-Complaints-To: support@blocknews.net
Date: Wed, 3 Apr 2024 10:44:29 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: i is a ?
Newsgroups: comp.os.linux.advocacy
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 16
Message-ID: <660d6b4d$0$2909308$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1712155469 reader.netnews.com 2909308 127.0.0.1:34453
 by: DFS - Wed, 3 Apr 2024 14:44 UTC

#include <stdio.h>
int main(void) {
for (int i = 2; i < 10000; i += 2) {
int sum = 1;
for (int j = 2; j <= i/2; j++) {
if (i % j == 0) {
sum += j;
}
}
if (sum == i) {
printf("%d is a ?\n",i);
}
}
return(0);
}

i is a ? (now with a free clue)

<660f6b9f$0$1129689$882e4bbb@reader.netnews.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=13240&group=comp.os.linux.advocacy#13240

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!198.186.190.30.MISMATCH!news-out.netnews.com|netnews.com!postmaster.netnews.com!us8.netnews.com!not-for-mail
X-Trace: DXC=5`J\@cG36af:iCDmkJ2@IdHWonT5<]0TmQ;nb^V>PUff5[gZBW6J?Ll>8J_kK>kdRiaSd1?7^mkEj=BeC^_lb1<cMba][>SC2Cgf;]EoU=id5f=R<hY6_C9Th
X-Complaints-To: support@blocknews.net
Date: Thu, 4 Apr 2024 23:10:23 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
From: nospam@dfs.com (DFS)
Subject: i is a ? (now with a free clue)
Newsgroups: comp.os.linux.advocacy
References: <660d6b4d$0$2909308$882e4bbb@reader.netnews.com>
Content-Language: en-US
In-Reply-To: <660d6b4d$0$2909308$882e4bbb@reader.netnews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 47
Message-ID: <660f6b9f$0$1129689$882e4bbb@reader.netnews.com>
NNTP-Posting-Host: 127.0.0.1
X-Trace: 1712286623 reader.netnews.com 1129689 127.0.0.1:39459
 by: DFS - Fri, 5 Apr 2024 03:10 UTC

On 4/3/2024 10:44 AM, DFS wrote:

> #include <stdio.h>
> int main(void) {
>     for (int i = 2; i < 10000; i += 2) {
>         int sum = 1;
>         for (int j = 2; j <= i/2; j++) {
>             if (i % j == 0) {
>                 sum += j;
>             }
>         }
>         if (sum == i) {
>             printf("%d is a ?\n",i);
>         }
>     }
>     return(0);
> }
>

----------------------------------------------------------------------
#include <stdio.h>
#include <string.h>
int main(void) {
int N = 10000;
int divs[N];
divs[0] = 1;
int divscnt = 1;
for (int i = 2; i < N; i += 2) {
int sum = 1;
for (int j = 2; j <= i/2; j++) {
if (i % j == 0) {
sum += j;
divs[divscnt++] = j;
}
}
if (sum == i) {
printf("The divisors of %d are ",i);
for(int d = 0; d < divscnt; d++) { printf("%d ",divs[d]); }
printf("\n");
}
memset(divs, 0, sizeof(divs));
divs[0] = 1;
divscnt = 1;
}
return(0);
} ----------------------------------------------------------------------


computers / comp.os.linux.advocacy / i is a ? (now with a free clue)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor