login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086838 Indices n where A057176(n)=4. 0
3, 6, 9, 13, 35, 66, 115, 145, 297, 402, 491, 521, 1217, 2166, 3397, 3591, 4641, 4829, 6810, 6829, 7978, 8705, 17676, 21165, 50722, 52884, 84763, 121344, 121482, 162070, 358839, 560596, 1463827, 1593475, 1668394, 2086707, 2164032, 2517791 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

By definition of the sequence A087045(n)+2 and A086809(n)+1 for every n > 0 are in the sequence. There are no further terms up to 200000

No more terms < 3870000. - David Wasserman, Mar 31 2005

LINKS

Table of n, a(n) for n=1..38.

MATHEMATICA

a[m_] := Sum[a[j], {j, 0, Mod[a[m-1], m]}]; vv={}; Do[ a[n]=If[n==0, 1, b]; v=a[n+1]; b=v; If[v==4, vv=Insert[vv, n+1, -1]; Print[vv]], {n, 0, 200000-1}]

CROSSREFS

Cf. A057176, A087045, A086809.

Sequence in context: A181970 A316531 A242339 * A161669 A128261 A310162

Adjacent sequences:  A086835 A086836 A086837 * A086839 A086840 A086841

KEYWORD

nonn

AUTHOR

Farideh Firoozbakht, Aug 08 2003

EXTENSIONS

More terms from David Wasserman, Mar 31 2005

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 02:44 EDT 2020. Contains 337392 sequences. (Running on oeis4.)