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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081116 Numbers n such that 17 divides 3^n-n. 0
5, 29, 42, 75, 132, 134, 140, 152, 159, 162, 163, 201, 206, 215, 241, 256, 277, 301, 314, 347, 404, 406, 412, 424, 431, 434, 435, 473, 478, 487, 513, 528, 549, 573, 586, 619, 676, 678, 684, 696, 703, 706, 707, 745, 750, 759, 785, 800, 821, 845, 858, 891, 948 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Suggested by a problem in a web page by Hojoo Lee entitled "Challenging problems in number theory". However, the page no longer exists.

LINKS

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

FORMULA

a(n+1)-a(n) is the 16-periodic sequence (24, 13, 33, 57, 2, 6, 12, 7, 3, 1, 38, 5, 9, 26, 15, 21)

PROG

(PARI) isok(n) = ((3^n-n) % 17) == 0; \\ Michel Marcus, Dec 02 2013

CROSSREFS

Cf. A024024 (3^n-n).

Sequence in context: A107151 A117746 A156053 * A192090 A268673 A146829

Adjacent sequences:  A081113 A081114 A081115 * A081117 A081118 A081119

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Apr 16 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 13 05:16 EST 2018. Contains 318082 sequences. (Running on oeis4.)