A333548 Numbers k such that A005132(k-1) = k.
3, 11, 39, 248, 844, 2752, 57071, 58056875
Offset: 1
Examples
A005132(10)=11, so 11 is a term (and A005132(11)=22).
Programs
Extensions
a(8) from Chai Wah Wu, May 02 2020
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.
A005132(10)=11, so 11 is a term (and A005132(11)=22).
A005132(21) = 63, 63 is divisible by 21, so 21 is in the sequence.
With[{s = Nest[Append[#1, If[And[#3 > 0, FreeQ[#1, #3]], #3, #1[[-1]] + #2]] & @@ {#1, #2, #1[[-1]] - #2} & @@ {#, Length@ #} &, {0}, 10^5]}, Reap[Do[If[Mod[s[[i]], i] == 0, Sow[i]], {i, Length@ s - 1}]][[-1, -1]]] (* Michael De Vlieger, Dec 29 2019 *)
Comments