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.

A304721 Numbers m with A304720(m) = 1.

Original entry on oeis.org

2, 3, 5, 7, 9, 10, 11, 12, 13, 19, 21, 23, 26, 28, 30, 39, 41, 46, 50, 51, 53, 55, 57, 59, 77, 89, 93, 101, 113, 129, 149, 151, 153, 161, 165, 178, 185, 189, 201, 221, 237, 245, 246, 297, 364, 377, 489, 553, 581, 639
Offset: 1

Views

Author

Zhi-Wei Sun, May 17 2018

Keywords

Comments

Conjecture: The sequence only has 112 terms as listed in the b-file.
We have verified that there is no new term below 2*10^9.

Examples

			a(9) = 13 since 13 - (4^1 - 1) = 2*5 is squarefree,  13 - (4^0 - 0) = 2^2*3 is not squarefree, and 13 - (4^k -k ) < 0 for any integer k > 1.
		

Crossrefs

Programs

  • Mathematica
    f[n_]:=f[n]=4^n-n;
    tab={};Do[r=0;k=0;Label[bb];If[f[k]>=m,Goto[aa]];If[SquareFreeQ[m-f[k]],r=r+1];If[r>1,Goto[cc]];k=k+1;Goto[bb];Label[aa];If[r==1,tab=Append[tab,m]];Label[cc],{m,1,640}];Print[tab]