Post Reply 
OEIS featured in The New York Times
05-21-2023, 11:44 PM
Post: #1
OEIS featured in The New York Times
.
Hi, all,

Today (Sunday, May 21th, 2023) The New York Times features an article commemorating OEIS (On-Line Encyclopedia of Integer Sequences) 50th anniversary:

What Number Comes Next? The Encyclopedia of Integer Sequences Knows

It makes for a good read and it's nice to see a math website being featured in a main USA newspaper. Have a look at a sequence mentioned in the article, namely:
    The Sisyphus sequence: start the sequence S with a(1) = 1 and extend S with a(n)/2 when a(n) is even, otherwise with a(n) + the smallest prime not yet added: 1, 3, 6, 3, 8, 4, 2, 1, 8, 4, 2, 1, 12, 6, 3, 16, 8, 4, 2, 1, 18, ...
Generating the sequence is trivial, here's for instance code for the HP-71B:
    SISYPHUS 76 bytes

    10 DESTROY ALL @ STD @ N=1 @ P=1
    20 LOOP @ DISP N; @ IF NOT MOD(N,2) THEN N=N DIV 2 ELSE P=FPRIM(P+1) @ N=N+P
    30 END LOOP

    >RUN
      1 3 6 3 8 4 2 1 8 4 2 1 12 6 3 16 8 4 2 1 18 9 28 14 7 30 15 44 22 ...
and there are a number of interesting things to explore in the sequence.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
OEIS featured in The New York Times - Valentin Albillo - 05-21-2023 11:44 PM



User(s) browsing this thread: 1 Guest(s)