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!)
A106275 Numbers k for which the absolute value of the discriminant of the polynomial x^k - x^(k-1) - ... - x - 1 is a prime times 2^m for some m >= 0. 1
2, 3, 4, 5, 6, 7, 21, 26, 99, 158, 405 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This polynomial is the characteristic polynomial of the Fibonacci and Lucas k-step recursions. Are the k-step recursions different -- in some way -- for the values of k that yield a prime*2^m discriminant? No other k < 10000.
LINKS
Eric Weisstein's World of Mathematics, Fibonacci n-Step Number.
PROG
(PARI) f(n) = poldisc('x^n-sum(k=0, n-1, 'x^k)); \\ A106273
isok(k) = my(x=abs(f(k))); ispseudoprime(x) || ispseudoprime(x/2^valuation(x, 2)); \\ Michel Marcus, Mar 26 2024
CROSSREFS
Cf. A106273 (discriminant of the polynomial x^n - x^(n-1) - ... - x - 1).
Sequence in context: A010354 A070759 A282138 * A303368 A031054 A342728
KEYWORD
nonn,hard,more
AUTHOR
T. D. Noe, May 02 2005
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 6 18:59 EDT 2024. Contains 372297 sequences. (Running on oeis4.)