The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A221980 Number of primes of the form (x+1)^7 - x^7 with x <= 10^n. 1
1, 6, 24, 161, 1094, 8283, 66790 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Number of primes equal to the difference of two consecutive seventh powers (x+1)^7 - x^7 = 7x(x+1)(x^2+x+1)^2+1 (A121618). Values of x = A121619 - 1. Sequence of number of primes of the form (x+1)^7 - x^7 with x <= 10^n have similar characteristics to similar sequences for natural primes, cuban primes (A221794) and primes of the form (x+1)^5 - x^5 (A221849).
LINKS
MATHEMATICA
Table[Count[#[[2]]-#[[1]]&/@Partition[Range[10^n+1]^7, 2, 1], _?PrimeQ], {n, 0, 6}] (* Harvey P. Dale, Sep 17 2019 *)
PROG
(PARI) a(n) = {nb = 0; for (i = 1, 10^n, if (isprime((i+1)^7-i^7), nb++); ); nb; } \\ Michel Marcus, Sep 18 2013
CROSSREFS
Sequence in context: A165638 A122829 A232688 * A359693 A225827 A349498
KEYWORD
nonn,base
AUTHOR
Vladimir Pletser, Feb 02 2013
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 May 28 15:56 EDT 2024. Contains 372916 sequences. (Running on oeis4.)