login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083039 Number of divisors of n that are <= 3. 5
1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Periodic of period 6. Parker vector of the wreath product of S_3 and S, the symmetric group of a countable set.

Terms of the simple continued fraction of 4/(sqrt(78)-6). Decimal expansion of 1343/10989. - Paolo P. Lava, Aug 05 2009

LINKS

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

D. A. Gewurz and F. Merola, Sequences realized as Parker vectors of oligomorphic permutation groups, J. Integer Seq., 6 (2003), 03.1.6

M. D. Hirschhorn, J. A. Sellers, Enumeration of unigraphical partitions, JIS 11 (2008) 08.4.6

Index entries for two-way infinite sequences

Index entries for linear recurrences with constant coefficients, signature (-1, 0, 1, 1).

FORMULA

G.f.: x/(1-x) + x^2/(1-x^2) + x^3/(1-x^3).

a(n) = a(n-6) = a(-n).

a(n) = (1/90)*(41*(n mod 6) - 19*((n+1) mod 6) + 26*((n+2) mod 6) + 11*((n+3) mod 6) + 11*((n+4) mod 6) - 4*((n+5) mod 6)) with n >= 0. - Paolo P. Lava, Nov 27 2006

a(n) = 11/6 - (1/2)*(-1)^n - (1/3)*cos(2*Pi*n/3) - (1/3)*3^(1/2)*sin(2*Pi*n/3). - Richard Choulet, Dec 12 2008

a(n) = Sum_{k=1..1} cos(n*(k - 1)/1*2*Pi)/1 + Sum_{k=1..2} cos(n*(k - 1)/2*2*Pi)/2 + Sum_{k=1..3} cos(n*(k - 1)/3*2*Pi)/3. - Mats Granvik, Sep 09 2012

a(n) = log_2(gcd(n,2) + gcd(n,6)). - Gary Detlefs, Feb 15 2014

EXAMPLE

The divisors of 6 are 1, 2, 3 and 6. Of those divisors, 1, 2 and 3 are <= 3. That's three divisors, therefore, a(6) = 3. - David A. Corneth, Sep 30 2017

MATHEMATICA

LinearRecurrence[{-1, 0, 1, 1}, {1, 2, 2, 2}, 90] (* Ray Chandler, Aug 26 2015 *)

PROG

(PARI) a(n)=[3, 1, 2, 2, 2, 1][n%6+1];

CROSSREFS

Cf. A000005, A007310, A008588, A047228, A083040, A138553.

Sequence in context: A205599 A265671 A214707 * A106253 A078720 A270488

Adjacent sequences:  A083036 A083037 A083038 * A083040 A083041 A083042

KEYWORD

easy,nonn

AUTHOR

Daniele A. Gewurz (gewurz(AT)mat.uniroma1.it) and Francesca Merola (merola(AT)mat.uniroma1.it), May 06 2003

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 06:45 EST 2018. Contains 299358 sequences. (Running on oeis4.)