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 A005659 M3275 #34 Mar 21 2025 16:16:43 %S A005659 4,6,9,10,15,16,18,24,27,28,30,34,42,45,46,51,52,54,58,66,69,78,81,82, %T A005659 87,88,90,99,100,102,106,114,123,130,132,135,136,150,153,154,159,160, %U A005659 162,171,172,174,178,195,196,198,202,204,210,226,231,240,243,244,258 %N A005659 If k appears so do 2k-2 and 3k-3. (duplicates omitted.) %D A005659 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A005659 Seiichi Manyama, <a href="/A005659/b005659.txt">Table of n, a(n) for n = 1..10000</a> %H A005659 R. K. Guy, <a href="/A005658/a005658.pdf">Letter to N. J. A. Sloane with attachment, 1982</a> %e A005659 From _Seiichi Manyama_, Feb 29 2024: (Start) %e A005659 87, 130 and 258 are terms and 258 = 2*130 - 2 = 3*87 - 3. %e A005659 135, 202 and 402 are terms and 402 = 2*202 - 2 = 3*135 - 3. %e A005659 231, 346 and 690 are terms and 690 = 2*346 - 2 = 3*231 - 3. (End) %t A005659 Take[Union[Nest[Flatten[{#,2#-2,3#-3}]&,4,10]],100] (* _Harvey P. Dale_, Mar 21 2025 *) %Y A005659 Cf. A005661. %K A005659 nonn,easy %O A005659 1,1 %A A005659 _N. J. A. Sloane_ %E A005659 More terms from Larry Reeves (larryr(AT)acm.org), Oct 01 2001