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!)
A283771 Numbers k such that L(k) = 2 mod 3, where L = A000201 = lower Wythoff sequence. 3
5, 7, 9, 11, 18, 20, 22, 24, 31, 33, 35, 37, 44, 46, 48, 50, 57, 59, 61, 63, 68, 70, 72, 74, 76, 81, 83, 85, 87, 94, 96, 98, 100, 107, 109, 111, 113, 120, 122, 124, 126, 133, 135, 137, 139, 146, 148, 150, 152, 157, 159, 161, 163, 165, 170, 172, 174, 176, 183 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequences A283769, A283770, A283771 partition the positive integers.
LINKS
FORMULA
a(n+1) - a(n) is in {2,5,7} for every n.
MATHEMATICA
r = GoldenRatio; z = 350; t = Table[Floor[n*r], {n, 1, z}]; u = Mod[t, 3];
Flatten[Position[u, 0]] (* A283769 *)
Flatten[Position[u, 1]] (* A283770 *)
Flatten[Position[u, 2]] (* A283771 *)
PROG
(PARI) r = (1 + sqrt(5))/2;
for(n=1, 351, if(floor(n*r)%3==2, print1(n, ", "))) \\ Indranil Ghosh, Mar 19 2017
(Python)
import math
from sympy import sqrt
r = (1 + sqrt(5))/2
[n for n in range(1, 351) if int(math.floor(n*r))%3==2] # Indranil Ghosh, Mar 19 2017
CROSSREFS
Sequence in context: A256091 A229064 A024910 * A045236 A346368 A029664
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 18 2017
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 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)