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!)
A007663 Fermat quotients: (2^(p-1)-1)/p, where p=prime(n).
(Formerly M2828)
34

%I M2828 #94 Feb 13 2024 12:42:30

%S 1,3,9,93,315,3855,13797,182361,9256395,34636833,1857283155,

%T 26817356775,102280151421,1497207322929,84973577874915,

%U 4885260612740877,18900352534538475,1101298153654301589,16628050996019877513,64689951820132126215,3825714619033636628817

%N Fermat quotients: (2^(p-1)-1)/p, where p=prime(n).

%C The only terms that are squares are a(2) = 1 and a(4) = 9. - _Nick Hobson_, May 20 2007

%C From _Jonathan Sondow_, Jul 19 2010: (Start)

%C a(n) == 0 (mod 3) if n > 2, since p = prime(n) > 3

%C and 0 = (-1)^(p-1)-1 == 2^(p-1)-1 (mod 3). (End)

%C p is in A001220 if and only if p | (2^(p-1)-1)/p, i.e., a(n) is divisible by prime(n). - _Felix Fröhlich_, Jun 20 2014

%C In general, every prime p that is 1 mod q-1 will create a numerator that is 0 mod q via Fermat's Little Theorem, meaning every p with this property (except q) will have a Fermat quotient divisible by q. - _Roderick MacPhee_, May 12 2017

%D L. E. Dickson, History of the Theory of Numbers. Carnegie Institute Public. 256, Washington, DC, Vol. 1, 1919; Vol. 2, 1920; Vol. 3, 1923, see vol. 1, p. 105.

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%D D. Wells, The Penguin Dictionary of Curious and Interesting Numbers, Penguin Books, NY, 1986, p. 70.

%H T. D. Noe, <a href="/A007663/b007663.txt">Table of n, a(n) for n=2..100</a>

%H Nick Hobson, <a href="https://web.archive.org/web/20160328125436/http://qbyte.org/puzzles/p158s.html">Solution to puzzle 158: Fermat squares</a>.

%H Jonathan Sondow, <a href="http://arxiv.org/abs/1110.3113">Lerch Quotients, Lerch Primes, Fermat-Wilson Quotients, and the Wieferich-non-Wilson Primes 2, 3, 14771</a>, in Proceedings of CANT 2011, arXiv:1110.3113 [math.NT], 2011-2012.

%H Jonathan Sondow, <a href="https://doi.org/10.1007/978-1-4939-1601-6_17">Lerch Quotients, Lerch Primes, Fermat-Wilson Quotients, and the Wieferich-non-Wilson Primes 2, 3, 14771</a>, Combinatorial and Additive Number Theory, CANT 2011 and 2012, Springer Proc. in Math. & Stat., vol. 101 (2014), pp. 243-255.

%H Andrei K. Svinin, <a href="https://arxiv.org/abs/1610.05387">On some class of sums</a>, arXiv:1610.05387 [math.CO], 2016. See p. 11.

%H H. S. Vandiver, <a href="http://www.pnas.org/cgi/reprint/31/1/55.pdf">Fermat's Quotients And Related Arithmetic Functions</a>, PNAS 1945 31 (1) pp. 55-60.

%H H. S. Vandiver, <a href="http://www.pnas.org/cgi/reprint/34/3/103.pdf">New Types Of Congruences Involving Bernoulli Numbers and Fermat's Quotient</a>, PNAS 1948 34 (3) pp. 103-110.

%H H. S. Vandiver, <a href="http://www.pnas.org/cgi/reprint/35/6/332.pdf">On Congruences Which Relate The Fermat And Wilson Quotients To The Bernoulli Numbers</a>, PNAS 1949 35 (6) pp. 332-337.

%F From _Alexander Adamchuk_, Oct 01 2006: (Start)

%F a(n) = 3*A096060(n) for n > 2.

%F a(n) = 3*A001045(prime(n)-1)/prime(n) for n > 1. (End)

%F a(n) = Sum_{i=0..(p-3)/2} (2^i*(p-i-2)!/((i+1)!*(p-2*(i+1))!) where p = prime(n), for n >= 2. - _Vladimir Pletser_, Jan 26 2023

%p A007663:= n-> map (p-> (2^(p-1)-1)/p, ithprime(n)):

%p seq (A007663(n), n=2..20); # _Jani Melik_, Jan 24 2011

%t A007663[n_Integer?Positive]:=(-1+2^(Prime[n]-1))/Prime[n]/;(n>1) (* _Enrique Pérez Herrero_, Sep 08 2010 *)

%t Table[(2^(n-1)-1)/n,{n,Prime[Range[2,20]]}] (* _Harvey P. Dale_, Nov 07 2016 *)

%o (PARI)

%o forprime(p=3, 100, print1((2^(p-1)-1)/p ", ")) \\ _Satish Bysany_, Mar 11 2017

%Y Cf. A002322, A001917, A096060, A001045.

%K nonn,easy,nice

%O 2,2

%A _N. J. A. Sloane_, Sep 19 1994

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)