This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A084989 #16 Jan 20 2021 17:13:15 %S A084989 2,1,2,2,2,1,2,1,1,1,1,1,1,1,1,2,1,2,1,1,1,1,1,1,2,2,1,2,1,2,1,4,2,2, %T A084989 1,2,2,1,1,2,1,2,2,2,1 %N A084989 Number of 4-year terms served by n-th President of U.S.A. %C A084989 The counts include partial presidential terms of office for a(9), a(10), a(12), a(13), a(16), a(17), a(20), a(21), a(25), a(26), a(29), a(30), a(32), a(33), a(35), a(36), a(37) and a(38). Grover Cleveland was both the 22nd and 24th President, so a(22) and a(24) refer to his two non-consecutive terms. %D A084989 "U.S. Presidents, Vice Presidents, Congresses", The World Almanac and Book of Facts (2000 edition). New Jersey: Primedia Reference Inc., 1999. pp. 503-504. %e A084989 George Washington, the first American President, served two terms, hence a(1)=2. %Y A084989 Cf. A008745 (Year of birth of n-th President of U.S.A.), A072550 (Number of Vice Presidents under n-th President of U.S.A.). %K A084989 nonn %O A084989 1,1 %A A084989 _Rick L. Shepherd_, Jul 16 2003 %E A084989 Cross reference corrected by _M. F. Hasler_, Jan 14 2009 %E A084989 a(43) from _Rick L. Shepherd_, Jan 20 2009 %E A084989 a(44) from _Jon E. Schoenfield_, Jan 20 2017 %E A084989 a(45) from _Jon E. Schoenfield_, Jan 20 2021