login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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