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.

A131579 Period 10: repeat 0, 3, 6, 9, 2, 5, 8, 1, 4, 7.

Original entry on oeis.org

0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2
Offset: 0

Views

Author

Paul Curtz, Oct 02 2007

Keywords

Comments

a(n) = last digit of 3*n, n >= 0. a(n+7) = last digit of 3*n + 1, n >= 0, and a(n+4) = last digit of 3*n + 2, n >= 0. The last digit of -3*n = A144468(n), n >= 0, the last one of -3*n + 1 = A144468(n+3), n >= 0 and the last one of -3*n + 2 = A144468(n+6), n >= 0. - Wolfdieter Lang, Aug 14 2017

Crossrefs

Programs

  • Magma
    &cat[[0,3,6,9,2,5,8,1,4,7]^^10]; // Vincenzo Librandi, Aug 15 2017
  • Mathematica
    PadRight[{}, 120, {0, 3, 6, 9, 2, 5, 8, 1, 4, 7}] (* Vincenzo Librandi, Aug 15 2017 *)

Formula

a(n) = A008585(n) mod 10. - Bruno Berselli, Mar 08 2011
G.f.: -x*(3 + 6*x + 9*x^2 + 2*x^3 + 5*x^4 + 8*x^5 + x^6 + 4*x^7 + 7*x^8) / ( (x-1) *(1+x) *(x^4 + x^3 + x^2 + x + 1) *(x^4 - x^3 + x^2 - x + 1) ). - R. J. Mathar, Mar 10 2011
Decimal expansion of 41028683/1111111110 . - R. J. Mathar, Jul 06 2025