login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064568 n-th term in Recamán's sequence A005132 is divisible by n. 4
1, 3, 11, 21, 39, 76, 248, 844, 1520, 2752, 9317, 17223, 31221, 57071, 99741, 589932, 58056875, 101769229, 302890748, 511561220, 904036924, 39488697700, 325374626148 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
No more terms < 4.61*10^11. - Jud McCranie, Dec 29 2019.
LINKS
EXAMPLE
A005132(21) = 63, 63 is divisible by 21, so 21 is in the sequence.
MATHEMATICA
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 *)
CROSSREFS
Sequence in context: A082485 A322595 A317298 * A147073 A147191 A327607
KEYWORD
nonn,more
AUTHOR
N. J. A. Sloane, Oct 16 2001
EXTENSIONS
Offset changed, a(1), a(22)-a(23) from Jud McCranie, Dec 29 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)