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.

A283363 Absolute values of first differences of A090396.

Original entry on oeis.org

1, 0, 0, 2, 2, 3, 3, 4, 8, 3, 1, 1, 3, 12, 0, 2, 0, 2, 2, 0, 2, 21, 3, 7, 7, 5, 5, 26, 2, 12, 12, 19, 11, 18, 14, 16, 20, 17, 21, 20, 24, 23, 23, 20, 18, 21, 15, 32, 20, 29, 21, 25, 33, 20, 36, 19, 23, 36, 24, 33, 23, 15, 47, 20, 22, 14, 54, 9, 13, 15, 15, 60, 12, 12, 14, 14, 12, 65
Offset: 1

Views

Author

Altug Alkan, Mar 06 2017

Keywords

Comments

See the beginning of helix in scatterplot link at Links section.

Examples

			a(5) = 2 because a(5) = abs(A090396(6) - A090396(5)) = abs(5 - 3) = 2.
		

Crossrefs

Cf. A090396.

Programs

  • Mathematica
    A[n_] := Mod[Sum[Prime[k], {k, n}], n];  Table[Abs[A[n+1] - A[n]],{n, 78}] (* Indranil Ghosh, Mar 06 2017 *)
  • PARI
    a090396(n) = sum(k=1, n, prime(k)) % n;
    a(n) = abs(a090396(n+1) - a090396(n));

Formula

a(n) = abs(A090396(n+1) - A090396(n)).