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”).

A242014
Where record values occur in A005210.
3
1, 4, 5, 8, 13, 27, 30, 59, 79, 101, 107, 115, 132, 153, 182, 206, 241, 260, 332, 344, 370, 437, 493, 521, 541, 587, 602, 660, 710, 812, 829, 838, 868, 979, 1040, 1079, 1114, 1240, 1294, 1367, 1634, 1713, 1727, 1779, 1886, 1929, 1940, 1984, 2060, 2246, 2373
OFFSET
1,2
COMMENTS
A005210(a(n)) = A005211(n).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000 (first 250 terms from Reinhard Zumkeller)
MATHEMATICA
(* b = A005210 *) b[1] = b[2] = 1; b[n_] := b[n] = Abs[b[n-1] + 2 b[n-2] - n]; Reap[rec = 0; Do[bn = b[n]; If[bn > rec, rec = bn; Sow[n]], {n, 1, 3000}]][[2, 1]] (* Jean-François Alcover, Mar 12 2019 *)
PROG
(Haskell)
a242014 n = a242014_list !! (n-1)
-- For definition of a242014_list see A005211.
CROSSREFS
Sequence in context: A348484 A087475 A019526 * A145488 A050892 A347880
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 11 2014
STATUS
approved