[seqfan] Re: Nice nontrivial integer sequence

Christian Sievers seqfan at duvers.de
Thu Mar 2 05:43:54 CET 2023


For even more results than in my last mail (can't reply to that one as
it still awaits moderation), change the beginning of my program to

======================
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

#define N 1000000000

int *next;
int *sum;
=====================

and change the beginning of the main function to

=================================
int main(void){
  int last,stable,need,i,p,q;
  next=calloc(N+1, sizeof(int));
  assert(next);
  sum=calloc(2*N, sizeof(int));
  assert(sum);
  last=1;
================================


This gives these extra results:

stable no. 60 is 161488216 after 205777261 terms
2 is at 2599
stable no. 61 is 278687387 after 440175603 terms
stable no. 62 is 117199171 after 440175603 terms
stable no. 63 is 72910126 after 440175603 terms
stable no. 64 is 174441333 after 440175603 terms
2 is at 3074
stable no. 65 is 450413873 after 624855206 terms
2 is at 3311
stable no. 66 is 275972540 after 726386413 terms
stable no. 67 is 101531207 after 726386413 terms
stable no. 68 is 28621081 after 726386413 terms
stable no. 69 is 12953117 after 726386413 terms
stable no. 70 is 36144504 after 726386413 terms
stable no. 71 is 23191387 after 726386413 terms
stable no. 72 is 33429657 after 726386413 terms
stable no. 73 is 10238270 after 726386413 terms
stable no. 74 is 7523423 after 726386413 terms
stable no. 75 is 19855422 after 726386413 terms
stable no. 76 is 52042843 after 726386413 terms
stable no. 77 is 32187421 after 726386413 terms
stable no. 78 is 44519420 after 726386413 terms
stable no. 79 is 12331999 after 726386413 terms
stable no. 80 is 4808576 after 726386413 terms
stable no. 81 is 21328033 after 726386413 terms
stable no. 82 is 59175523 after 726386413 terms
stable no. 83 is 156198536 after 726386413 terms
stable no. 84 is 253221549 after 726386413 terms
stable no. 85 is 350244562 after 726386413 terms
stable no. 86 is 97023013 after 726386413 terms
stable no. 87 is 231893516 after 726386413 terms
stable no. 88 is 134870503 after 726386413 terms
stable no. 89 is 37847490 after 726386413 terms
stable no. 90 is 16519457 after 726386413 terms
stable no. 91 is 61269252 after 726386413 terms
stable no. 92 is 167288299 after 726386413 terms
stable no. 93 is 273307346 after 726386413 terms
stable no. 94 is 106019047 after 726386413 terms
stable no. 95 is 362806936 after 726386413 terms
2 is at 3416
after 1000000000 terms:
2 is at 3645


More information about the SeqFan mailing list