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.

A293428 a(0) = 1; and for n > 0, a(n) = a(n-1) + (A008966(4n+1) - A107078(4n+3)).

Original entry on oeis.org

1, 2, 2, 3, 4, 5, 4, 5, 6, 7, 8, 8, 8, 9, 10, 10, 11, 12, 12, 13, 13, 14, 15, 16, 16, 17, 18, 19, 20, 20, 20, 20, 21, 21, 22, 23, 23, 24, 24, 25, 26, 27, 26, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 35, 36, 36, 37, 38, 39, 39, 39, 40, 41, 42, 42, 43, 44, 44, 44, 45, 46, 46, 47, 47, 48, 49, 50, 50, 51, 52, 52, 53, 53
Offset: 0

Views

Author

Antti Karttunen, Oct 16 2017

Keywords

Comments

After a(0)=1, each term a(n) is either (a) one more than its predecessor, in case 4n+1 and 4n+3 are both squarefree, (b) stays same if only the other one is squarefree, or (c) decreases by one if neither 4n+1 nor 4n+3 are squarefree.

Crossrefs

Formula

a(0) = 1; and for n > 0, a(n) = a(n-1) + -1+(A008966(4n+1)+A008966(4n+3)).
Or for n > 0, a(n) = a(n-1) + (A008966(4n+1) - A107078(4n+3)).