OFFSET
1,1
LINKS
Rémy Sigrist, C program
EXAMPLE
The first 7 terms of A356640 are 1, 3, 50, 5, 44, 7 and 161. The record values, 1, 3, 50 and 161, occur at n = 2, 3, 4 and 8, the first 4 terms of this sequence.
MATHEMATICA
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Aug 19 2022
EXTENSIONS
More terms from Rémy Sigrist, Sep 07 2022
STATUS
approved