OFFSET
1,2
LINKS
Manfred Scheucher, C Code
EXAMPLE
a(3) = 14, 14' = 19:
1: (14 + 7)' = 21' = 10, and 14' + 7' = 9 + 1 = 10,
2: (14 + 11)' = 25' = 10, and 14' + 11' = 9 + 1 = 10,
3: (14 + 28)' = 42' = 41, and 14' + 28' = 9 + 32 = 41;
a(4) = 70: 70' = 59:
1: (70 + 8)' = 78' = 71, and 70' + 8' = 59 + 12 = 71,
2: (70 + 35)' = 105' = 71, and 70' + 35' = 59 + 12 = 71,
3: (70 + 55)' = 125' = 75, and 70' + 55' = 59 + 16 = 75,
4: (70 + 140)' = 210' = 247, and 70' + 140' = 59 + 188 = 247.
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a258138 = (+ 1) . fromJust . (`elemIndex` a099305_list)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 21 2015
EXTENSIONS
More terms from Manfred Scheucher, May 23 2015, May 25 2015
STATUS
approved