cp's OEIS Frontend

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.

A140282 Numbers k such that A000330(k) is multiple of 3.

Original entry on oeis.org

0, 4, 8, 9, 13, 17, 18, 22, 26, 27, 31, 35, 36, 40, 44, 45, 49, 53, 54, 58, 62, 63, 67, 71, 72, 76, 80, 81, 85, 89, 90, 94, 98, 99, 103, 107, 108, 112, 116, 117, 121, 125, 126, 130, 134, 135, 139, 143, 144, 148, 152, 153, 157, 161, 162, 166, 170, 171, 175, 179, 180, 184
Offset: 0

Views

Author

Zak Seidov, May 23 2008

Keywords

Comments

k mod 3 is periodic: 0,1,2, 0,1,2, 0,1,2, 0,1,2, 0,1,2, 0,1,2.

Crossrefs

Cf. A000330.

Programs

Formula

k*(1 + k)*(1 + 2*k) is multiple of 18; a(0..2)=0,4,8; a(n) = a(n-3) + 9 for n > 2.
a(n) = 3*(n-floor(n/3)) + n. - Gary Detlefs, Mar 27 2010
a(n) = 3*n + A010872(n). - Wesley Ivan Hurt, Jul 07 2013
G.f.: x*(x+2)^2 / ( (1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Jul 13 2013