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!)
A089169 Solutions x for x^2-1 = kp where p is prime and k=1,2... 0

%I #3 Oct 01 2013 17:57:47

%S 2,4,3,4,6,6,5,8,10,12,5,12,14,16,7,9,18,18,8,20,22,7,11,13,24,28,30,

%T 30,15,10,32,36,14,38,40,9,11,21,42,42,44,46,23,25,48,16,52,54,13,27,

%U 20,58,60,11,60,62,33,14,66,22,68,70,72,19,35,37,72,74,78,39,80,82,13,16,84

%N Solutions x for x^2-1 = kp where p is prime and k=1,2...

%o (PARI) xpm1(n,m,pow) = { for(k=1,m, for(x=1,n, y= x^pow - 1; z=floor(y/k); if(floor(y/k)*k==y, if(isprime(z), print1(x",") ) ) ) )

%K easy,nonn

%O 1,1

%A _Cino Hilliard_, Dec 07 2003

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 March 28 10:31 EDT 2024. Contains 371240 sequences. (Running on oeis4.)