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.

A174871 Numbers k such that the k-th triangular number ends in 6 or 8.

Original entry on oeis.org

3, 7, 8, 11, 12, 16, 23, 27, 28, 31, 32, 36, 43, 47, 48, 51, 52, 56, 63, 67, 68, 71, 72, 76, 83, 87, 88, 91, 92, 96, 103, 107, 108, 111, 112, 116, 123, 127, 128, 131, 132, 136, 143, 147, 148, 151, 152, 156, 163, 167, 168, 171, 172, 176, 183, 187, 188, 191, 192, 196
Offset: 1

Views

Author

J. Lowell, Mar 31 2010

Keywords

Comments

Observed to be the same as when all consecutive terms in the sequence a(0) = n+1, a(k+1) = a(k)^2 - a(k) + 1 will eventually end in 57, 93, 57, 93, ... - Eugene Dorokhin, Aug 28 2018

Examples

			11 is in the sequence because 11*12/2 = 66 ends in 6. - _Emeric Deutsch_, Apr 10 2010
		

Crossrefs

Cf. A008954. - R. J. Mathar, Apr 15 2010

Programs

Formula

From R. J. Mathar, Apr 15 2010 (Start)
a(n) = a(n-1) + a(n-6) - a(n-7).
G.f.: x*(3 + 4*x + x^2 + 3*x^3 + x^4 + 4*x^5 + 4*x^6)/ ((1+x) * (x^2-x+1) * (1+x+x^2) * (x-1)^2). (End)

Extensions

More terms from Emeric Deutsch, Apr 10 2010