login
A107041
First differences of indices of squarefree Pell numbers.
1
1, 1, 2, 1, 3, 1, 1, 2, 4, 1, 1, 3, 1, 2, 1, 1, 2, 2, 2, 1, 3, 1, 1, 2, 2, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 2, 2, 2, 1, 4, 1, 2, 1, 1, 2, 1, 1, 2, 4, 1, 1, 2, 2, 2, 1, 1, 3, 1, 2, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 2, 2, 2, 1, 1, 3, 3, 1, 1, 2, 1, 1, 3
OFFSET
1,3
LINKS
FORMULA
a(n) = A107040(n+1)-A107040(n). - R. J. Mathar, Jan 04 2017
MATHEMATICA
Rest[Differences[Flatten[Position[LinearRecurrence[{2, 1}, {1, 2}, 100], _?SquareFreeQ]]]] (* Harvey P. Dale, May 30 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Barry, May 09 2005
EXTENSIONS
More terms from Amiram Eldar, Feb 25 2024
STATUS
approved