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!)
A014850 Numbers k that divide s(k), where s(1)=1, s(j)=3*s(j-1)+j. 0
1, 3, 39, 507, 6591, 12207, 85683, 158691, 255567, 285987, 1028703, 1113879, 2062983, 3322371, 3717831, 3820791, 13373139, 14480427, 26818779, 31089279, 43190823, 48331803, 49670283, 79992471, 89513931, 173850807, 188245551, 321984039, 348644127, 404160627, 561480699, 628313439, 645713679 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
39 is in the sequence as A000340(39-1) = 3039416364764232180 is divisible by 39. - David A. Corneth, Aug 08 2021
PROG
(PARI) lista(nn) = my(s); for(k=1, nn, s=3*s+k; if(s%k==0, print1(k, ", "))); \\ Jinyuan Wang, Aug 08 2021
(PARI) is(n) = n%2==1 && lift(Mod(3, n)^(n + 1) - Mod(3, n)) == 0 \\ David A. Corneth, Aug 08 2021
CROSSREFS
s(n) = A000340(n-1).
Sequence in context: A063035 A198970 A361539 * A341671 A328809 A327603
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(7)-a(16) from Arkadiusz Wesolowski, Jul 03 2011
More terms from David A. Corneth, Aug 08 2021
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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)