OFFSET
1,2
COMMENTS
In Germany this is called the Number Shark (Zahlenhai) sequence: see the CrypTool link.
This sequence is associated with the taxman game. The open source cryptography e-learning program JCrypTool (JCT) includes a tutorial and a discussion about strategies for the taxman game. - Bernhard Esslinger, Mar 17 2015, Sep 17 2019 and May 04 2020
In order for a player to select a number in the game, at least one of the number's maximal factors must be available to be claimed by the taxman. - Brian Chess, Sep 24 2022
LINKS
Brian Chess, Table of n, a(n) for n = 1..1000 (Terms 1..158 by Dan Hoey; 159..227 by Timothy Loh; 228..404 by Bernhard Esslinger; 405..519 by van Nek)
Brian Chess, taxman
Bernhard Esslinger, CrypTool
Atli Fannar Franklín and Robert K. Moniot, Polynomial-Time Upper Bound to the Taxman Score
Dan Hoey, Notes on A019312
Robert K. Moniot, The Taxman Game
Brandee Wilson, The Taxman Game
FORMULA
When you take a number from S, you must give all its proper divisors to the tax man and there must be at least one to give; T(S) is the maximum total income.
PROG
(Haskell)
import Data.List ((\\), intersect)
a019312 = t . enumFromTo 1 where
t xs = foldl max 0 [z + t (xs \\ ds) | z <- xs,
let ds = a027750_row z, not $ null $ intersect xs $ init ds]
-- Reinhard Zumkeller, Apr 05 2015
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
Extended by Timothy Loh, Aug 12 2012
STATUS
approved