[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Records in A088178.
3

%I #8 Oct 21 2021 14:18:28

%S 1,2,4,6,10,12,15,20,24,28,32,40,42,45,48,60,70,72,78,84,98,104,108,

%T 110,120,132,143,144,147,152,160,168,189,190,198,204,209,228,234,240,

%U 256,272,280,300,304,306,323,342,360,364,378,392,420,425,450,456,460,475,500,504,506,525,550,552,575

%N Records in A088178.

%H Chai Wah Wu, <a href="/A348442/b348442.txt">Table of n, a(n) for n = 1..3000</a>

%o (Python)

%o from itertools import islice

%o def A348442(): # generator of terms

%o yield 1

%o c, p, a = 1, {1}, 1

%o while True:

%o n, na = 1, a

%o while na in p:

%o n += 1

%o na += a

%o p.add(na)

%o a = n

%o if c < na:

%o c = na

%o yield c

%o A348442_list = list(islice(A348442(),100)) # _Chai Wah Wu_, Oct 21 2021

%Y Cf. A088177, A088178, A348440-A348443.

%K nonn

%O 1,2

%A _N. J. A. Sloane_, Oct 21 2021