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!)
A306938 If n is divisible by 3 then a(n) = n/3 otherwise a(n) = floor(n*sqrt(3)). 5
1, 3, 1, 6, 8, 2, 12, 13, 3, 17, 19, 4, 22, 24, 5, 27, 29, 6, 32, 34, 7, 38, 39, 8, 43, 45, 9, 48, 50, 10, 53, 55, 11, 58, 60, 12, 64, 65, 13, 69, 71, 14, 74, 76, 15, 79, 81, 16, 84, 86, 17, 90, 91, 18, 95, 96, 19, 100, 102, 20, 105, 107, 21, 110, 112, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
H. J. J. te Riele, Iteration of number-theoretic functions, Nieuw Archief v. Wiskunde, (4) 1 (1983), 345-360. See Example III.3. [Apparently the sequence is discussed earlier in the same volume on page 80, where it is proved that under certain conditions the iterates of this function go to infinity (namely, if there are two consecutive non-multiples of 3).]
MATHEMATICA
a[n_] := If[Divisible[n, 3], n/3, Floor[n*Sqrt[3]]]; Array[a, 66] (* Amiram Eldar, Mar 17 2019 *)
CROSSREFS
Sequence in context: A280293 A226483 A103407 * A257259 A074475 A144877
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 17 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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)