login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A273999
Numbers of the form n^2+1 that divide 4^n-1.
3
1, 5, 17, 257, 46657, 65537, 148997, 67371265, 405458497, 1370776577, 3497539601, 4294967297, 80542440001, 422240040001, 1911029760001, 139251776898727937, 286245437364810001, 6017402415698251777, 18446744073709551617
OFFSET
1,2
COMMENTS
Corresponding values of n are given by A273870(k)-1 for k>=1.
Contains Fermat numbers (A000215) greater than 3.
Also, numbers of the form n^2+1 that divide (4^k)^n-1 for all k >= 0.
a(20) > 4*10^24, if it exists. - Giovanni Resta, Feb 26 2020
FORMULA
a(n) = (A273870(n)-1)^2+1.
EXAMPLE
17 = 4^2+1 is a term because divides 4^4-1; 255 / 17 = 15.
PROG
(PARI) is(n) = ceil(sqrt(n-1))==sqrtint(n-1) && Mod(4, n)^(sqrtint(n))==1
for(n=0, 1e12, if(is(n^2+1), print1(n^2+1, ", "))) \\ Felix Fröhlich, Jun 06 2016
CROSSREFS
Subsequence of A002522 (numbers of the form n^2+1).
Prime terms are in A274000.
Sequence in context: A271660 A273948 A271657 * A222008 A274000 A093428
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, Jun 06 2016
EXTENSIONS
a(16)-a(19) from Lars Blomberg, Aug 10 2016
Edited by Max Alekseyev, Apr 30 2018
STATUS
approved