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!)
A076291 a(n) = A002977(n+1) - A002977(n). 2
2, 1, 3, 2, 1, 3, 2, 4, 2, 1, 5, 1, 3, 8, 1, 3, 2, 1, 9, 2, 1, 5, 1, 3, 12, 2, 1, 3, 2, 4, 2, 1, 17, 4, 2, 1, 3, 6, 2, 1, 5, 1, 3, 20, 4, 2, 1, 5, 1, 3, 8, 4, 2, 1, 3, 9, 21, 8, 4, 2, 1, 5, 1, 3, 8, 1, 3, 2, 1, 9, 2, 1, 5, 1, 3, 36, 8, 4, 2, 1, 9, 2, 1, 5, 1, 3, 9, 3, 8, 4, 2, 1, 5, 1, 3, 14, 1, 3, 9, 29, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
seq[max_] := Module[{s = Flatten[NestWhileList[Flatten[{2*# + 1, 3*# + 1}] &, 1, Min[#1] < max &]]}, Differences[Union[Select[s, # <= max &]]]]; seq[400000] (* Amiram Eldar, May 07 2022 *)
CROSSREFS
Cf. A002977.
Sequence in context: A328719 A113787 A115624 * A275015 A370264 A211189
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 06 2002
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 16 07:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)