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.

A353069 Positions k such that A097465(k) and A097465(k+1) are odd.

Original entry on oeis.org

1, 2, 7, 12, 41, 100, 521, 1150, 10391, 15008, 255247, 1786778, 4849835, 5870858, 6561553, 557732162, 3234846601, 3457939474, 4360010651
Offset: 1

Views

Author

Michael De Vlieger, May 05 2022

Keywords

Comments

Fixed points in A097465 appear in the intervals [12, 41], [100, 521], [1150, 10391], etc.

Crossrefs

Programs

  • C
    See Links section.
  • Mathematica
    nn = 2^20; c = {1}; j = 1; u = 2; {1}~Join~Reap[Do[k = u; While[Nand[FreeQ[c, k], CoprimeQ[j, k], k != j + 1, k != j - 1], k++]; j = k; AppendTo[c, k]; If[# != s, s = #; Sow[i - 1]] &@ Mod[#, 2] &@ Abs[k - i]; If[k == u, While[MemberQ[c, u], u++]; c = DeleteCases[c, _?(# < u &)]], {i, 2, nn}]][[-1, -1]]

Extensions

a(17)-a(19) from Rémy Sigrist, May 07 2022